Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A
- {
- auto value(float val) @property
- {
- return _value = val;
- }
- float _value = 0;
- }
- void main()
- {
- auto a = new A();
- a.value += 42;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement