dmd and C++11
Adam D. Ruppe
destructionator at gmail.com
Sun Jan 1 17:33:41 PST 2012
On Monday, 2 January 2012 at 01:14:43 UTC, Mail Mantis wrote:
> If I undestood you correctly...
> Potentially, yes, But, from syntactical point of view, is there
> any [...]
http://drdobbs.com/blogs/tools/229401068
In std.conv, the octal template is one example:
int a = octal!755;
Another thing I like doing is using simple structs.
For instance:
struct Html { string src; }
Usage:
Html myhtml = Html("<b>some text</b>");
Which is really easy too.
More information about the Digitalmars-d
mailing list