property syntax strawman

Michiel Helvensteijn m.helvensteijn.remove at gmail.com
Sun Aug 2 09:50:08 PDT 2009


Andrei Alexandrescu wrote:

>> void empty.set(bool value) { ... }
>> bool empty.get() { ... }
> 
> Yah, I was thinking the same. This is my #1 fave so far.

You should read my reply to myself, though. It describes an ambiguity in the
approach. Several solutions are discussed. (Just translate them from
grouping to non-grouping solutions.)

-- 
Michiel Helvensteijn




More information about the Digitalmars-d mailing list