[ ArgumentList ] vs. @( ArgumentList )
Jacob Carlborg
doob at me.com
Wed Nov 7 00:36:49 PST 2012
On 2012-11-06 22:53, Walter Bright wrote:
> C++11 has had problems adding new keywords, as about every identifier
> somewhere has been used by someone's C++ source code, and they don't
> want to break existing code. So C++11 winds up with awful things like
> "decltype".
Just create a new attribute, call it "builtin" or something similar,
which takes attributes as arguments, i.e.
@builtin(shared) int a;
@builtin(property) int b;
I'm not suggesting that we should change the existing @shared and
@property, I just used them as an example.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list