• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>Environment</title>
6<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9<link rel="up" href="../string_algo.html" title="Chapter 2. Boost String Algorithms Library">
10<link rel="prev" href="rationale.html" title="Rationale">
11<link rel="next" href="credits.html" title="Credits">
12</head>
13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14<table cellpadding="2" width="100%"><tr>
15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
16<td align="center"><a href="../../../index.html">Home</a></td>
17<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20<td align="center"><a href="../../../more/index.htm">More</a></td>
21</tr></table>
22<hr>
23<div class="spirit-nav">
24<a accesskey="p" href="rationale.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.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="credits.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
25</div>
26<div class="section">
27<div class="titlepage"><div><div><h2 class="title" style="clear: both">
28<a name="string_algo.env"></a>Environment</h2></div></div></div>
29<div class="toc"><dl class="toc">
30<dt><span class="section"><a href="env.html#id-1.3.3.11.2">Build</a></span></dt>
31<dt><span class="section"><a href="env.html#id-1.3.3.11.3">Examples</a></span></dt>
32<dt><span class="section"><a href="env.html#id-1.3.3.11.4">Tests</a></span></dt>
33<dt><span class="section"><a href="env.html#id-1.3.3.11.5">Portability</a></span></dt>
34</dl></div>
35<div class="section">
36<div class="titlepage"><div><div><h3 class="title">
37<a name="id-1.3.3.11.2"></a>Build</h3></div></div></div>
38<p>
39            The whole library is provided in headers. Regex variants of some algorithms,
40            however, are dependent on the Boost.Regex library. All such algorithms are
41            separated in <code class="computeroutput"><a class="link" href="reference.html#header.boost.algorithm.string_regex_hpp" title="Header &lt;boost/algorithm/string_regex.hpp&gt;">boost/algorithm/string_regex.hpp</a></code>.
42            If this header is used, the application must be linked with the Boost.Regex
43            library.
44        </p>
45</div>
46<div class="section">
47<div class="titlepage"><div><div><h3 class="title">
48<a name="id-1.3.3.11.3"></a>Examples</h3></div></div></div>
49<p>
50            Examples showing the basic usage of the library can be found in the libs/algorithm/string/example
51            directory. There is a separate file for the each part of the library. Please follow the boost
52            build guidelines to build examples using the bjam. To successfully build regex examples
53            the Boost.Regex library is required.
54        </p>
55</div>
56<div class="section">
57<div class="titlepage"><div><div><h3 class="title">
58<a name="id-1.3.3.11.4"></a>Tests</h3></div></div></div>
59<p>
60            A full set of test cases for the library is located in the libs/algorithm/string/test directory.
61            The test cases can be executed using the boost build system. For the tests of regular
62            expression variants of algorithms, the Boost.Regex library is required.
63        </p>
64</div>
65<div class="section">
66<div class="titlepage"><div><div><h3 class="title">
67<a name="id-1.3.3.11.5"></a>Portability</h3></div></div></div>
68<p>
69            The library has been successfully compiled and tested with the following compilers:
70
71            </p>
72<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
73<li class="listitem">Microsoft Visual C++ 7.0</li>
74<li class="listitem">Microsoft Visual C++ 7.1</li>
75<li class="listitem">GCC 3.2</li>
76<li class="listitem">GCC 3.3.1</li>
77</ul></div>
78<p>
79
80            See <a href="http://boost.sourceforge.net/regression-logs/" target="_top">Boost regression tables</a>
81            for additional info for a particular compiler.
82        </p>
83<p>
84            There are known limitation on platforms not supporting partial template specialization.
85            Library depends on correctly implemented <code class="computeroutput">std::iterator_traits</code> class.
86            If a standard library provided with compiler is broken, the String Algorithm Library
87            cannot function properly. Usually it implies that primitive pointer iterators are not
88            working with the library functions.
89        </p>
90</div>
91</div>
92<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
93<td align="left"></td>
94<td align="right"><div class="copyright-footer">Copyright © 2002-2004 Pavol Droba<p>Use, modification and distribution is subject to the Boost
95                Software License, Version 1.0. (See accompanying file
96                <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
97            </p>
98</div></td>
99</tr></table>
100<hr>
101<div class="spirit-nav">
102<a accesskey="p" href="rationale.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.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="credits.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
103</div>
104</body>
105</html>
106