That doesn't work if you have several different scalar properties in the same class which require different forms of validation, nor does it work if the same lvalue is accessed multiple times at once (a trivially constructible circumstance).
Makeshifts last the longest.
In reply to Re^16: Assignable Subroutines
by Aristotle
in thread Assignable Subroutines
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |