1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
4 | <title>Environment</title> |
---|
5 | <link rel="stylesheet" href="../boostbook.css" type="text/css"> |
---|
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> |
---|
7 | <link rel="start" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> |
---|
8 | <link rel="up" href="../string_algo.html" title="Chapter 14. Boost String Algorithms Library"> |
---|
9 | <link rel="prev" href="rationale.html" title="Rationale"> |
---|
10 | <link rel="next" href="credits.html" title="Credits"> |
---|
11 | </head> |
---|
12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
---|
13 | <table cellpadding="2" width="100%"> |
---|
14 | <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td> |
---|
15 | <td align="center"><a href="../../../index.htm">Home</a></td> |
---|
16 | <td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td> |
---|
17 | <td align="center"><a href="../../../people/people.htm">People</a></td> |
---|
18 | <td align="center"><a href="../../../more/faq.htm">FAQ</a></td> |
---|
19 | <td align="center"><a href="../../../more/index.htm">More</a></td> |
---|
20 | </table> |
---|
21 | <hr> |
---|
22 | <div class="spirit-nav"> |
---|
23 | <a accesskey="p" href="rationale.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="credits.html"><img src="../images/next.png" alt="Next"></a> |
---|
24 | </div> |
---|
25 | <div class="section" lang="en"> |
---|
26 | <div class="titlepage"><div><div><h2 class="title" style="clear: both"> |
---|
27 | <a name="string_algo.env"></a>Environment</h2></div></div></div> |
---|
28 | <div class="toc"><dl> |
---|
29 | <dt><span class="section"><a href="env.html#id1709621">Build</a></span></dt> |
---|
30 | <dt><span class="section"><a href="env.html#id1709648">Examples</a></span></dt> |
---|
31 | <dt><span class="section"><a href="env.html#id1709664">Tests</a></span></dt> |
---|
32 | <dt><span class="section"><a href="env.html#id1709679">Portability</a></span></dt> |
---|
33 | </dl></div> |
---|
34 | <div class="section" lang="en"> |
---|
35 | <div class="titlepage"><div><div><h3 class="title"> |
---|
36 | <a name="id1709621"></a>Build</h3></div></div></div> |
---|
37 | <p> |
---|
38 | The whole library is provided in headers. Regex variants of some algorithms, |
---|
39 | however, are dependent on the Boost.Regex library. All such algorithms are |
---|
40 | separated in <code class="computeroutput"><a href="reference.html#header.boost.algorithm.string_regex.hpp" title="Header <boost/algorithm/string_regex.hpp>">boost/algorithm/string_regex.hpp</a></code>. |
---|
41 | If this header is used, the application must be linked with the Boost.Regex |
---|
42 | library. |
---|
43 | </p> |
---|
44 | </div> |
---|
45 | <div class="section" lang="en"> |
---|
46 | <div class="titlepage"><div><div><h3 class="title"> |
---|
47 | <a name="id1709648"></a>Examples</h3></div></div></div> |
---|
48 | <p> |
---|
49 | Examples showing the basic usage of the library can be found in the libs/algorithm/string/example |
---|
50 | directory. There is a separate file for the each part of the library. Please follow the boost |
---|
51 | build guidelines to build examples using the bjam. To successfully build regex examples |
---|
52 | the Boost.Regex library is required. |
---|
53 | </p> |
---|
54 | </div> |
---|
55 | <div class="section" lang="en"> |
---|
56 | <div class="titlepage"><div><div><h3 class="title"> |
---|
57 | <a name="id1709664"></a>Tests</h3></div></div></div> |
---|
58 | <p> |
---|
59 | A full set of test cases for the library is located in the libs/algorithm/string/test directory. |
---|
60 | The test cases can be executed using the boost build system. For the tests of regular |
---|
61 | expression variants of algorithms, the Boost.Regex library is required. |
---|
62 | </p> |
---|
63 | </div> |
---|
64 | <div class="section" lang="en"> |
---|
65 | <div class="titlepage"><div><div><h3 class="title"> |
---|
66 | <a name="id1709679"></a>Portability</h3></div></div></div> |
---|
67 | <p> |
---|
68 | The library has been successfully compiled and tested with the following compilers: |
---|
69 | |
---|
70 | </p> |
---|
71 | <div class="itemizedlist"><ul type="disc"> |
---|
72 | <li>Microsoft Visual C++ 7.0</li> |
---|
73 | <li>Microsoft Visual C++ 7.1</li> |
---|
74 | <li>GCC 3.2</li> |
---|
75 | <li>GCC 3.3.1</li> |
---|
76 | </ul></div> |
---|
77 | <p> |
---|
78 | |
---|
79 | See <a href="http://boost.sourceforge.net/regression-logs/" target="_top">Boost regression tables</a> |
---|
80 | for additional info for a particular compiler. |
---|
81 | </p> |
---|
82 | <p> |
---|
83 | There are known limitation on platforms not supporting partial template specialization. |
---|
84 | Library depends on correctly implemented <code class="computeroutput">std::iterator_traits</code> class. |
---|
85 | If a standard library provided with compiler is broken, the String Algorithm Library |
---|
86 | cannot function properly. Usually it implies that primitive pointer iterators are not |
---|
87 | working with the library functions. |
---|
88 | </p> |
---|
89 | </div> |
---|
90 | </div> |
---|
91 | <table width="100%"><tr> |
---|
92 | <td align="left"><small><p>Last revised: August 16, 2006 at 07:10:48 GMT</p></small></td> |
---|
93 | <td align="right"><small>Copyright © 2002-2004 Pavol Droba</small></td> |
---|
94 | </tr></table> |
---|
95 | <hr> |
---|
96 | <div class="spirit-nav"> |
---|
97 | <a accesskey="p" href="rationale.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="credits.html"><img src="../images/next.png" alt="Next"></a> |
---|
98 | </div> |
---|
99 | </body> |
---|
100 | </html> |
---|