[cfe-dev] Is there a querying macro for `__alignof`?

Eli Friedman eli.friedman at gmail.com
Tue Aug 30 08:29:59 PDT 2011


On Tue, Aug 30, 2011 at 2:22 AM, Michel MORIN <mimomorin at gmail.com> wrote:
> Hi,
>
> I'm trying to write a patch for Boost.TypeTraits to use clang's
> type traits intrinsics. Is there a querying macro for checking availability of
> `__alignof`? If not, is there any plan to add it?

__GNUC__ >= 3?  I don't really see much point to a separate querying macro...

-Eli



More information about the cfe-dev mailing list