Moving towards D2 2.061 (and D1 1.076)
Jacob Carlborg
doob at me.com
Tue Dec 11 01:09:30 PST 2012
On 2012-12-10 23:15, Walter Bright wrote:
> The syntax will be:
>
> @(attributes)
>
> and:
>
> @identifier
>
> although the latter isn't implemented yet.
Pull 1395.
struct Foo1 {}
@Foo int x1;
struct Foo2 (string bar) {}
@Foo!"asd" int x2;
@Foo!("asd") int x22;
struct Foo3 (string bar) { int a; }
@Foo!"asd"(3) int x3;
@Foo!("asd")(3) int x32;
https://github.com/D-Programming-Language/dmd/pull/1365
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list