Boost logo

Boost :

Subject: Re: [boost] [Review:Contract] Andrzej's review
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-09-06 15:49:52


AMDG

On 09/06/2012 12:27 PM, Lorenzo Caminiti wrote:
>
> Btw, would it be legal for the syntax to use a specifier like
> __attribute__ given that technically specifiers with double
> underscores are reserved? I'd think so because on compilers that
> support __attribute__ it becomes like a keyword `const`, etc so I can
> use it in the syntax.
>

Using __attribute__ at all is an extension.
In theory, the compiler could define it as
a macro. I think it's treated as a keyword,
but you should check to make sure.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk