[Bug libstdc++/37721] Segmentation fault
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 3 13:22:00 GMT 2008
------- Comment #19 from paolo dot carlini at oracle dot com 2008-10-03 13:21 -------
Before anything else, you should realize that, per 23.1/3, the type of objects
stored in a std::vector must meet the requirements of CopyConstructible types
(20.1.3), which, in turn, include semantic requirements: the copy constructor
of SomeClass doesn't meet the requirements in Table 30, in short does not
really copy construct.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37721
More information about the Gcc-bugs
mailing list