January 02, 2012
2012/1/2 Adam D. Ruppe <destructionator@gmail.com>

> 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<http://drdobbs.com/blogs/tools/229401068>
>
> In std.conv, the octal template is one example:
>
> int a = octal!755;
>

And the above example may be rewritten as:
a = x!2 + y!3 * deg!180;
Thank you, totally forgot about this


January 02, 2012
On 02-01-2012 01:15, Sean Cavanaugh wrote:
> On 12/29/2011 10:16 AM, Trass3r wrote:
>> On Thursday, 29 December 2011 at 16:00:47 UTC, Vladimir Panteleev wrote:
>>> On Thursday, 29 December 2011 at 15:58:55 UTC, Trass3r wrote:
>>>> What's the stance on using C++11 features in the dmd source code in
>>>> the future?
>>>
>>> Well, how many C++11 features does DMC support?
>>
>> *sigh*
>> Totally forgot about that. Can't we finally get rid of that crappy
>> toolchain :'(
>> btw, wasn't there a patch to make dmd compile with VisualStudio cl?
>
> Visual Studio support of C++11 is pretty weak (or maybe more accurately
> 'spotty') in VS2010, and this will be virtually unchanged in the next
> version. On the plus side what is there (rvalue references, auto) is
> nice to have. On the downside what is missing is really sad (varaidic
> templates, range for, the full set of C++11 type traits, the new unicode
> string types and literals, initializer lists, and a few others I can't
> remember easily)
>

It has lambdas. That's already a HUGE plus, imo more important than most other features.

- Alex
January 04, 2012
Did a quick test, dmd compiles fine with -gnu++0x -fpermissive (gcc 4.6.1)
Can anyone try with dmc?
1 2
Next ›   Last »