environment.xml 2.9 KB

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