[Bug libstdc++/38265] STL treats explicit constructors as converting constructors
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 25 19:49:00 GMT 2008
------- Comment #2 from paolo dot carlini at oracle dot com 2008-11-25 19:48 -------
Unless I'm badly mistaken, this behaviour, dating back to the original HP/SGI
STL and as such very difficult to change now, is a small extension due to the
use in the containers of _Construct instead of calling allocator::construct
directly. All in all, at the moment I don't think we have good reasons to
change it.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |libstdc++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38265
More information about the Gcc-bugs
mailing list