This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Add variadic construct to the allocators (in C++0x mode)


On 10/26/07, Paolo Carlini <pcarlini@suse.de> wrote:
> Hi,
>
> tested x86_64-linux, committed to mainline.

Doesn't defining __GXX_EXPERIMENTAL_CXX0X__ cause an ODR violation?

Seems better if there are two classes, one for C++98 and one for C++0x
and then use an strong using to get the correct behavior.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]