This is the mail archive of the gcc-bugs@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]

[Bug c++/60201] Issue with CRTP generation under 4.8.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60201

--- Comment #5 from Andrew Stern <andrew.stern at itg dot com> ---
It seems that if I change my code
From:
    Baseclass<Subclass<ParamOne, ParamTwo>, ParamOne, ParamTwo> test;

To:
    Subclass<ParamOne, ParamTwo> test;

Then it seems to work.

This produces the following output:
   The this pointer is 7fffddafc360 with a size of 8 and values of 304 and 472


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