[Bug c++/56889] =delete(ing) default copy and move operations for a polymorphic type gives compilation error messages

2013-04-11 Thread amalisperid at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56889 --- Comment #8 from Amali Praveena 2013-04-12 03:39:35 UTC --- Hi reddit, Yes, it's not a GCC bug.  I had a problem with copy constructors in version 4.7.0 but got Internal Compilation Error. I'm now working with GCC 4.8.0 in which this is fixed

[Bug c++/56889] =delete(ing) default copy and move operations for a polymorphic type gives compilation error messages

2013-04-09 Thread amalisperid at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56889 --- Comment #6 from Amali Praveena 2013-04-09 19:23:38 UTC --- Hi Daniel, The Stack template is an abstract type, so I don't have to add default constructor to it, do I? Since the abstract type can't be copied/moved, i'm explicitly specifying th

[Bug c++/56889] =delete(ing) default copy and move operations for a polymorphic type gives compilation error messages

2013-04-09 Thread amalisperid at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56889 --- Comment #4 from Amali Praveena 2013-04-09 19:02:32 UTC --- Hi Jonathan, The Stack in the example is an abstract type, so I'm explicitly saying that this abstract type cannot be copied or moved; but the derived class vector_stack, which

[Bug c++/56889] New: =delete(ing) default copy and move operations for a polymorphic type gives compilation error messages

2013-04-08 Thread amalisperid at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56889 Bug #: 56889 Summary: =delete(ing) default copy and move operations for a polymorphic type gives compilation error messages Classification: Unclassified Product: gcc Version: 4.