[c++-concepts] variable concept fixes

Paolo Carlini paolo.carlini@oracle.com
Thu Aug 21 08:26:00 GMT 2014


Hi Andrew,

On 08/20/2014 11:08 PM, Andrew Sutton wrote:
>> On 08/20/2014 08:56 PM, Andrew Sutton wrote:
>>> +  return VAR_P (decl)
>>> +         && DECL_LANG_SPECIFIC (decl)
>>> +         && DECL_DECLARED_CONCEPT_P (decl);
>> this is brittle from the formatting point of view. Please double check in
>> detail what I'm going to say, but I think that in such cases you simply want
>> to wrap the whole thing in round parentheses.
> Sorry, did you just mean to wrap the entire conjunction in parens? I'm
> trying to find the formatting guidelines to check, but not succeeding
> at the moment.
Yes, I meant the whole conjunction, sorry about my sloppy language. In 
terms of GNU coding standards:

     http://www.gnu.org/prep/standards/standards.html#Formatting

toward the end of the section, for example.

Paolo.



More information about the Gcc-patches mailing list