[Bug libstdc++/48101] obscure error message with std::set<const int>

gccbugs at jbapple dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 18 16:20:00 GMT 2017


gccbugs at jbapple dot com changed:

           What    |Removed                     |Added
                 CC|                            |gccbugs at jbapple dot com

--- Comment #3 from gccbugs at jbapple dot com ---
libc++ handles this with a partial template specialization like

template<typename T>
class allocator<const T> {


More information about the Gcc-bugs mailing list