Struct vs Class

Stewart Gordon smjg_1998 at yahoo.com
Tue Dec 12 18:15:37 PST 2006


Karen Lanrap wrote:
> Derek Parnell wrote:
> 
>> Have I missed anything?
>>
>> Functionality              Class          Struct
>> --------------------------------------------------
>   ...
>   Access to outer elements
>   from nested constructs     Yes            No
>   "outer" property
>   for "this"                 Yes            No
>> -------------------------------------------------

These are really just one difference: the concept of outer objects.

Stewart.


More information about the Digitalmars-d-learn mailing list