From: John Maddock (jm_at_[hidden])
Date: 2002-11-07 06:46:01


> Question:
> Q: In order to use boost::reg_expression<unsigned short,..> on the
> platform where
> 'wchar_t' is not 'unsigned short', what do I need to do ?

Define your own traits class - see the docs, and the example custom traits
class ( you may be able to derive from regex_traits<wchar_t> or even use it
directly if you're lucky).

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm