|
| 1 | +<html> |
| 2 | +<head> |
| 3 | +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 4 | +<title>Use in Standalone Mode (without the rest of Boost)</title> |
| 5 | +<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> |
| 6 | +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> |
| 7 | +<link rel="home" href="../../index.html" title="Boost.Regex 7.0.1"> |
| 8 | +<link rel="up" href="../configuration.html" title="Configuration"> |
| 9 | +<link rel="prev" href="compiler.html" title="Compiler Setup"> |
| 10 | +<link rel="next" href="locale.html" title="Locale and traits class selection"> |
| 11 | +</head> |
| 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> |
| 20 | +</tr></table> |
| 21 | +<hr> |
| 22 | +<div class="spirit-nav"> |
| 23 | +<a accesskey="p" href="compiler.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../configuration.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="locale.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> |
| 24 | +</div> |
| 25 | +<div class="section"> |
| 26 | +<div class="titlepage"><div><div><h3 class="title"> |
| 27 | +<a name="boost_regex.configuration.standalone"></a><a class="link" href="standalone.html" title="Use in Standalone Mode (without the rest of Boost)">Use in Standalone |
| 28 | + Mode (without the rest of Boost)</a> |
| 29 | +</h3></div></div></div> |
| 30 | +<p> |
| 31 | + This library may now be used in "standalone" mode without the rest |
| 32 | + of the Boost C++ libraries, in order to do this you must either: |
| 33 | + </p> |
| 34 | +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> |
| 35 | +<li class="listitem"> |
| 36 | + Have a C++17 compiler that supports <code class="computeroutput"><span class="identifier">__has_include</span></code>, |
| 37 | + in this case if <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> is <span class="bold"><strong>not</strong></span> |
| 38 | + present then the library will automoatically enter standalone mode. Or: |
| 39 | + </li> |
| 40 | +<li class="listitem"> |
| 41 | + Define BOOST_REGEX_STANDALONE when building. |
| 42 | + </li> |
| 43 | +</ul></div> |
| 44 | +<p> |
| 45 | + The main difference between the 2 modes, is that when Boost.Config is present |
| 46 | + the library will automatically configure itself around various compiler defects. |
| 47 | + In particular in order to use the library with exception support turned off, |
| 48 | + you will either need a copy of Boost.Config in your include path, or else |
| 49 | + manually define BOOST_NO_EXCEPTIONS when building. |
| 50 | + </p> |
| 51 | +</div> |
| 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>) |
| 57 | + </p> |
| 58 | +</div></td> |
| 59 | +</tr></table> |
| 60 | +<hr> |
| 61 | +<div class="spirit-nav"> |
| 62 | +<a accesskey="p" href="compiler.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../configuration.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="locale.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> |
| 63 | +</div> |
| 64 | +</body> |
| 65 | +</html> |
0 commit comments