[Bug libstdc++/38265] STL treats explicit constructors as converting constructors

konto dot dydaktyczne at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 29 16:37:00 GMT 2008



------- Comment #10 from konto dot dydaktyczne at gmail dot com  2008-11-29 16:36 -------
(In reply to comment #9)

The Standard does not require that std::uninitialized_copy be invoked when
constructing an std::vector or std::deque.

Moreover, an explicit constructor constructs objects only where the
direct-initialization syntax or where casts are explicitly used. None of these
cases occurs in the code above.


-- 


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



More information about the Gcc-bugs mailing list