3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
4 <title>Introduction to Boost.Regex and MFC Strings
</title>
5 <link rel=
"stylesheet" href=
"../../../../../../../../doc/src/boostbook.css" type=
"text/css">
6 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.77.1">
7 <link rel=
"home" href=
"../../../../index.html" title=
"Boost.Regex 5.1.2">
8 <link rel=
"up" href=
"../mfc_strings.html" title=
"Using Boost Regex With MFC Strings">
9 <link rel=
"prev" href=
"../mfc_strings.html" title=
"Using Boost Regex With MFC Strings">
10 <link rel=
"next" href=
"mfc_regex_types.html" title=
"Regex Types Used With MFC Strings">
12 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF">
13 <table cellpadding=
"2" width=
"100%"><tr>
14 <td valign=
"top"><img alt=
"Boost C++ Libraries" width=
"277" height=
"86" src=
"../../../../../../../../boost.png"></td>
15 <td align=
"center"><a href=
"../../../../../../../../index.html">Home
</a></td>
16 <td align=
"center"><a href=
"../../../../../../../../libs/libraries.htm">Libraries
</a></td>
17 <td align=
"center"><a href=
"http://www.boost.org/users/people.html">People
</a></td>
18 <td align=
"center"><a href=
"http://www.boost.org/users/faq.html">FAQ
</a></td>
19 <td align=
"center"><a href=
"../../../../../../../../more/index.htm">More
</a></td>
22 <div class=
"spirit-nav">
23 <a accesskey=
"p" href=
"../mfc_strings.html"><img src=
"../../../../../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"../mfc_strings.html"><img src=
"../../../../../../../../doc/src/images/up.png" alt=
"Up"></a><a accesskey=
"h" href=
"../../../../index.html"><img src=
"../../../../../../../../doc/src/images/home.png" alt=
"Home"></a><a accesskey=
"n" href=
"mfc_regex_types.html"><img src=
"../../../../../../../../doc/src/images/next.png" alt=
"Next"></a>
26 <div class=
"titlepage"><div><div><h5 class=
"title">
27 <a name=
"boost_regex.ref.non_std_strings.mfc_strings.mfc_intro"></a><a class=
"link" href=
"mfc_intro.html" title=
"Introduction to Boost.Regex and MFC Strings">Introduction
28 to Boost.Regex and MFC Strings
</a>
29 </h5></div></div></div>
31 The header
<code class=
"computeroutput"><span class=
"special"><</span><span class=
"identifier">boost
</span><span class=
"special">/
</span><span class=
"identifier">regex
</span><span class=
"special">/
</span><span class=
"identifier">mfc
</span><span class=
"special">.
</span><span class=
"identifier">hpp
</span><span class=
"special">></span></code> provides Boost.Regex support for
32 MFC string types: note that this support requires Visual Studio .NET
33 (Visual C++
7) or later, where all of the MFC and ATL string types are
34 based around the CSimpleStringT class template.
37 In the following documentation, whenever you see CSimpleStringT
<charT
>,
38 then you can substitute any of the following MFC/ATL types (all of which
39 inherit from CSimpleStringT):
41 <pre class=
"programlisting"><span class=
"identifier">CString
</span>
42 <span class=
"identifier">CStringA
</span>
43 <span class=
"identifier">CStringW
</span>
44 <span class=
"identifier">CAtlString
</span>
45 <span class=
"identifier">CAtlStringA
</span>
46 <span class=
"identifier">CAtlStringW
</span>
47 <span class=
"identifier">CStringT
</span><span class=
"special"><</span><span class=
"identifier">charT
</span><span class=
"special">,
</span><span class=
"identifier">traits
</span><span class=
"special">></span>
48 <span class=
"identifier">CFixedStringT
</span><span class=
"special"><</span><span class=
"identifier">charT
</span><span class=
"special">,
</span><span class=
"identifier">N
</span><span class=
"special">></span>
49 <span class=
"identifier">CSimpleStringT
</span><span class=
"special"><</span><span class=
"identifier">charT
</span><span class=
"special">></span>
52 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
53 <td align=
"left"></td>
54 <td align=
"right"><div class=
"copyright-footer">Copyright
© 1998-
2013 John Maddock
<p>
55 Distributed under the Boost Software License, Version
1.0. (See accompanying
56 file LICENSE_1_0.txt or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt" target=
"_top">http://www.boost.org/LICENSE_1_0.txt
</a>)
61 <div class=
"spirit-nav">
62 <a accesskey=
"p" href=
"../mfc_strings.html"><img src=
"../../../../../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"../mfc_strings.html"><img src=
"../../../../../../../../doc/src/images/up.png" alt=
"Up"></a><a accesskey=
"h" href=
"../../../../index.html"><img src=
"../../../../../../../../doc/src/images/home.png" alt=
"Home"></a><a accesskey=
"n" href=
"mfc_regex_types.html"><img src=
"../../../../../../../../doc/src/images/next.png" alt=
"Next"></a>