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: libstdc++-v3 HOWTO: Chapter 22


> There is a bug in the Toupper example code 
> 'http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html'. In it,
> when constructing Toupper (in main***), the 'std::local("C")' is 
> destructed immediately after the 'up'  is constructed causing
> 'up::loc' reference to be invalid when std::transform is called. (dito
> Tolower..)

Fixed, thanks.


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