[cfe-commits] r93312 - in /cfe/trunk: docs/LanguageExtensions.html lib/Lex/PPMacroExpansion.cpp test/Lexer/has_feature_cxx0x .cpp

Douglas Gregor dgregor at apple.com
Wed Jan 13 07:31:15 PST 2010


On Jan 13, 2010, at 12:44 AM, Sebastian Redl wrote:

> 
> On Wed, 13 Jan 2010 08:31:50 -0000, Sean Hunt <rideau3 at gmail.com> wrote:
>> Author: coppro
>> Date: Wed Jan 13 02:31:49 2010
>> New Revision: 93312
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=93312&view=rev
>> Log:
>> Add a bunch more feature-checking macros for C++0x features. Some of
> these
>> are
>> disabled with the intent that users can start with them now and not have
>> to change
>> a thing to have them work when we implement the features.
>> 
>> 
> ==============================================================================
>> --- cfe/trunk/docs/LanguageExtensions.html (original)
>> +++ cfe/trunk/docs/LanguageExtensions.html Wed Jan 13 02:31:49 2010
>> +
>> +<h3 id="cxx_concepts">C++ TR <tt>concepts</tt></h3>
>> +
>> +<p>Use <tt>__has_feature(cxx_lambdas)</tt> to determine if support for
> 
> __has_feature(cxx_concepts)

Concepts isn't in any working paper, and there isn't an actively-maintained implementation anywhere. It doesn't need a __has_feature check until one of those two things changes.

	- Doug



More information about the cfe-commits mailing list