[Bug c++/52978] Inherit from Template with specified type and override virtual function

2012-04-14 Thread benediktibk at aon dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52978 --- Comment #6 from Benedikt Schmidt 2012-04-14 08:37:00 UTC --- Now it is clear, even to me. My personal conclusion from this is: Prefer T const& instead of const T&. Thank you, Benedikt Schmidt

[Bug c++/52978] Inherit from Template with specified type and override virtual function

2012-04-13 Thread benediktibk at aon dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52978 --- Comment #4 from Benedikt Schmidt 2012-04-13 20:22:44 UTC --- Okay, first: Thanks for the fast reply. Why changes the use of an template the order, in which const affects the type? I mean, if I just replace the T in the base class with the sp

[Bug c++/52978] New: Inherit from Template with specified type and override virtual function

2012-04-13 Thread benediktibk at aon dot at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52978 Bug #: 52978 Summary: Inherit from Template with specified type and override virtual function Classification: Unclassified Product: gcc Version: 4.5.3 Status: UNCONFI