This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [c++-concepts] variable concept fixes
- From: Andrew Sutton <andrew dot n dot sutton at gmail dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Ville Voutilainen <ville dot voutilainen at gmail dot com>, Braden Obrzut <admin at maniacsvault dot net>, Jason Merrill <jason at redhat dot com>
- Date: Wed, 20 Aug 2014 17:08:24 -0400
- Subject: Re: [c++-concepts] variable concept fixes
- Authentication-results: sourceware.org; auth=none
- References: <CANq5SyvPthg96k36012Bqc7umigwMhJug1EWe-pUbUnHKPye3g at mail dot gmail dot com> <53F4F5FF dot 5070400 at oracle dot com>
> 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.
Andrew