dmd and C++11

Alex Rønne Petersen xtzgzorex at gmail.com
Mon Jan 2 04:21:10 PST 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


More information about the Digitalmars-d mailing list