On Thursday, 31 January 2013 at 02:10:51 UTC, TommiT wrote:
Keyword property is like the keyword struct, except:

1) properties can't have data members
2) properties can't have static member functions
3) properties can't have constructors/destructors
4) property instances always point to null
5) property instances' size is 0
6) if a property is declared inside a class/struct, all its
   member functions receive an implicit 'outer' variable
   which references the encapsulating object. Whether or
   not 'outer' is const ref or ref depends only on the
   constness of the encapsulating object.
(CONT'D)
     Instances of such nested properties can be default-
     constructed only in the lexical scope where the
     property type is defined.

Reply via email to