15 Mar
2005
15 Mar
'05
5:05 p.m.
John Maddock wrote:
Yes specialise regex_traits<uchar16> using c_regex_traits as a guide, actually I'm surprised it works at all: regex_traits<uchar16> shouldn't instantiate, but if you're happy then great.
John.
In all the routines for char_traits I added equivalents to accept char also (eg, I have assign(uchar& to, char& from) also ) I didn't try to run my code on unix, but on windows wchat_t is unsigned short, that's why I think it worked. I'll try to run it on freebsd later. Thanks