This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Specializations of std::char_traits


On Wed, Jul 16, 2003 at 11:29:06PM +0200, Gabriel Dos Reis wrote:
>    template<typename charT>
>       struct char_traits : __gnu_cxx::char_traits<charT> { };
> 
> Users can specialize __gnu_cxx::char_traits<> at will on fundamental
> types.  We may provide a definition for the primary template
> __gnu_cxx::char_traits<>.  This we don't create the confusion that
> users can specialize std::templates on fundamental types.
> Comments?

I like this.  No one could believe they were doing something 
portable, but they have what they need to get their work done.

Nathan Myers
ncm-nospam@cantrip.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]