[LLVMdev] Using C++'11 language features in LLVM itself
Isaac Dupree
ml at isaac.cedarswampstudios.org
Sun Jan 13 17:43:42 PST 2013
On 01/13/2013 03:59 PM, Sean Silva wrote:
> On Sun, Jan 13, 2013 at 2:10 PM, Matthieu Monrocq
> <matthieu.monrocq at gmail.com> wrote:
>> gcc 4.5, MSVC 10, clang 3.1
>> - decltype v1.0 [1] + late specified return type
>> - lambda v1.0 [2]
>> - local types as template arguments
>> - r-value 2.0 [3]
>> - static_assert
>> - built-in type traits
>
> This isn't very encouraging. Anecdotally from what I've seen in LLD
> (whose C++11 feature use is bounded only by MSVC 2012), the features
> that get the most mileage by a large margin are `auto`, range-for, and
> `nullptr`, along with library offerings like unique_ptr<>. Just based
> on that, the churn and overhead of imposing new build requirements
> doesn't seem worth it at the moment.
'auto' is in gcc 4.4, MSVC 10, and clang 2.9, I believe.
More information about the llvm-dev
mailing list