| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | <?xml version="1.0" encoding="utf-8"?> | 
					
						
							|  |  |  | <!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" | 
					
						
							|  |  |  | "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> | 
					
						
							| 
									
										
										
										
											2006-08-16 07:17:49 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | <!-- Copyright (c) 2002-2006 Pavol Droba.
 | 
					
						
							|  |  |  |      Subject to the Boost Software License, Version 1.0.  | 
					
						
							| 
									
										
										
										
											2008-02-27 18:51:14 +00:00
										 |  |  |      (See accompanying file LICENSE_1_0.txt or  http://www.boost.org/LICENSE_1_0.txt) | 
					
						
							| 
									
										
										
										
											2006-08-16 07:17:49 +00:00
										 |  |  | --> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | <section id="string_algo.env" last-revision="$Date$"> | 
					
						
							|  |  |  |     <title>Environment</title> | 
					
						
							|  |  |  |     <section> | 
					
						
							|  |  |  |         <title>Build</title> | 
					
						
							|  |  |  |         <para> | 
					
						
							|  |  |  |             The whole library is provided in headers. Regex variants of some algorithms,  | 
					
						
							|  |  |  |             however, are dependent on the <libraryname>Boost.Regex</libraryname> library. All such algorithms are | 
					
						
							| 
									
										
										
										
											2004-07-14 21:46:50 +00:00
										 |  |  |             separated in <headername>boost/algorithm/string_regex.hpp</headername>.  | 
					
						
							| 
									
										
										
										
											2004-07-15 21:47:22 +00:00
										 |  |  |             If this header is used, the application must be linked with the <libraryname>Boost.Regex</libraryname>  | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             library.  | 
					
						
							|  |  |  |         </para> | 
					
						
							|  |  |  |     </section> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <section> | 
					
						
							|  |  |  |         <title>Examples</title> | 
					
						
							|  |  |  |         <para> | 
					
						
							| 
									
										
										
										
											2004-07-14 21:46:50 +00:00
										 |  |  |             Examples showing the basic usage of the library can be found in the libs/algorithm/string/example | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             directory. There is a separate file for the each part of the library. Please follow the boost | 
					
						
							|  |  |  |             build guidelines to build examples using the bjam. To successfully build regex examples  | 
					
						
							|  |  |  |             the <libraryname>Boost.Regex</libraryname> library is required.  | 
					
						
							|  |  |  |         </para> | 
					
						
							|  |  |  |     </section> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <section> | 
					
						
							|  |  |  |         <title>Tests</title> | 
					
						
							|  |  |  |         <para> | 
					
						
							| 
									
										
										
										
											2004-07-14 21:46:50 +00:00
										 |  |  |             A full set of test cases for the library is located in the libs/algorithm/string/test directory.  | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             The test cases can be executed using the boost build system. For the tests of regular  | 
					
						
							|  |  |  |             expression variants of algorithms, the <libraryname>Boost.Regex</libraryname> library is required.  | 
					
						
							|  |  |  |         </para> | 
					
						
							|  |  |  |     </section> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <section> | 
					
						
							|  |  |  |         <title>Portability</title> | 
					
						
							|  |  |  |         <para> | 
					
						
							|  |  |  |             The library has been successfully compiled and tested with the following compilers: | 
					
						
							|  |  |  |              | 
					
						
							|  |  |  |             <itemizedlist> | 
					
						
							|  |  |  |                 <listitem>Microsoft Visual C++ 7.0</listitem> | 
					
						
							|  |  |  |                 <listitem>Microsoft Visual C++ 7.1</listitem> | 
					
						
							|  |  |  |                 <listitem>GCC 3.2</listitem> | 
					
						
							|  |  |  |                 <listitem>GCC 3.3.1</listitem> | 
					
						
							|  |  |  |             </itemizedlist> | 
					
						
							| 
									
										
										
										
											2004-07-14 21:46:50 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |             See <ulink url="http://boost.sourceforge.net/regression-logs/">Boost regression tables</ulink> | 
					
						
							|  |  |  |             for additional info for a particular compiler. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         </para> | 
					
						
							|  |  |  |         <para> | 
					
						
							|  |  |  |             There are known limitation on platforms not supporting partial template specialization.  | 
					
						
							| 
									
										
										
										
											2004-07-14 21:46:50 +00:00
										 |  |  |             Library depends on correctly implemented <code>std::iterator_traits</code> class.  | 
					
						
							|  |  |  |             If a standard library provided with compiler is broken, the String Algorithm Library  | 
					
						
							|  |  |  |             cannot function properly. Usually it implies that primitive pointer iterators are not  | 
					
						
							|  |  |  |             working with the library functions.  | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         </para> | 
					
						
							|  |  |  |     </section> | 
					
						
							|  |  |  | </section> |