[cfe-commits] [libc++] Switching to 'double underscore'	notation for has_feature.
    Jean-Daniel Dupas 
    devlists at shadowlab.org
       
    Sat Mar  3 03:32:16 PST 2012
    
    
  
Le 2 mars 2012 à 21:16, Howard Hinnant a écrit :
> On Mar 2, 2012, at 2:56 PM, Eli Friedman wrote:
> 
>> On Thu, Mar 1, 2012 at 11:50 PM, Jean-Daniel Dupas
>> <devlists at shadowlab.org> wrote:
>>> It does not solve the "do not use identifier that can conflict with legitimate user macros" issue.
>>> 
>>> ---------------
>>> #define cxx_noexpect noexcept()
>>> 
>>> #if __has_feature(__cxx_noexpect__) || __has_feature(cxx_noexpect)
>>> 
>>> #endif
>>> ---------------
>> 
>> We could make a variant of this work if we really wanted to using #if
>> defined(cxx_noexcept) or something like that.  Not sure if it's
>> worthwhile, though.
> 
> I've seen no reports from the field that would indicate that this problem is that urgent.
Neither did I. I'm quite happy with your reply about performing this change at some point in the future.
Jean-Daniel
    
    
More information about the cfe-commits
mailing list