Boost Users :
From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2003-09-11 09:09:52
John Maddock <john_at_[hidden]> wrote:
> > Is it possible to define a traits class for regex that supports
> > multibyte strings? I am intending to do so, but I'm unsure that it
> > is possible because there are several required functions that take a
> > parameter of type char_type, which wouldn't really hold a complete
> > character.
> I suspect that the answer is "no", can you not use wchar_t, and if
> necessary convert your multi-byte sequence to wchar_t "atoms" on-
> the-fly using iterator adapters?
I'll give it a try.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net