Yeah, I thought of that and the compiler can optimize it away if not needed. So this would be fine, but see my second, improved proposal.
On Thu, 2013-01-24 at 23:37 +0100, Adam D. Ruppe wrote: > Indeed, but there's an easy alternative too that works with both > kinds of data, properties and regular: wrapping it in an function > at the usage site, e.g. "(a) => myProp = a;"
