Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
Regex Types Used With MFC Strings

The following typedefs are provided for the convenience of those working with TCHAR's:

typedef basic_regex<TCHAR>                  tregex;
typedef match_results<TCHAR const*>         tmatch;
typedef regex_iterator<TCHAR const*>        tregex_iterator;
typedef regex_token_iterator<TCHAR const*>  tregex_token_iterator;

If you are working with explicitly narrow or wide characters rather than TCHAR, then use the regular Boost.Regex types regex and wregex instead.


PrevUpHomeNext