|
Boost.Regexclass regex_traits |
|
namespace boost{ template <class charT, class implementationT = sensible_default_choice> struct regex_traits : public implementationT { regex_traits() : implementationT() {} }; template <class charT> struct c_regex_traits; template <class charT> struct cpp_regex_traits; template <class charT> struct w32_regex_traits; } // namespace boost
The class regex_traits is just a thin wrapper around an actual implemention class, which may be one of:
The default behavior can be altered by defining one of the following configuration macros in boost/regex/user.hpp:
All these traits classes fulfil the traits class requirements.
Revised 24 June 2004
© Copyright John Maddock 1998- 2004
Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)