[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#158988: g++-3.2: char_traits template does not have a implementation



On Sat, Aug 31, 2002 at 02:17:45PM +0200, Tobias Hunger wrote:
> bits/char_traits.h Defines the char_traits template without providing a
> default implementation, only specialisations for char and wchar_t.

This is by design.

> This
> is very annoying as you need to fill in all the gory details if you want
> to have a string of something else (like string<size_t> to hold a list

Well, yeah.  "all the gory details" /depend/ on the type you choose;
they cannot be guessed by a default implementation.


Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002



Reply to: