>From: Richard Smith <[email protected]>
>but does not appear to place any requirements on alignof(decltype(nullptr)).
>Itanium C++ ABI differ: Clang and EDG use alignof(void*). GCC uses 1.

Was this intentional or just an oversight, confusing the alignment of the
pointer vs what it points to?

>alignof(void*) seems like a better answer to me. Thoughts?

Yes, all pointers should be aligned the same.  Unless there is short vs
far, types.
_______________________________________________
cxx-abi-dev mailing list
[email protected]
http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev

Reply via email to