Created
November 14, 2012 11:08
-
-
Save ecere/4071564 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyClass | |
{ | |
SomeClass someThing { }; /* the storage */ | |
public property SomeClass someThing | |
{ | |
set { delete someThing; someThing = value; incref someThing; } | |
get { return someThing; } | |
}; | |
} | |
class SomeClass { }; | |
MyClass a { someThing = SomeClass { } }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment