<aname="boost_regex.configuration.standalone"></a><aclass="link"href="standalone.html"title="Use in Standalone Mode (without the rest of Boost)">Use in Standalone
Mode (without the rest of Boost)</a>
</h3></div></div></div>
<p>
This library may now be used in "standalone" mode without the rest
of the Boost C++ libraries, in order to do this you must either:
Have a C++17 compiler that supports <codeclass="computeroutput"><spanclass="identifier">__has_include</span></code>,
in this case if <codeclass="computeroutput"><spanclass="special"><</span><spanclass="identifier">boost</span><spanclass="special">/</span><spanclass="identifier">config</span><spanclass="special">.</span><spanclass="identifier">hpp</span><spanclass="special">></span></code> is <spanclass="bold"><strong>not</strong></span>
present then the library will automoatically enter standalone mode. Or:
</li>
<liclass="listitem">
Define BOOST_REGEX_STANDALONE when building.
</li>
</ul></div>
<p>
The main difference between the 2 modes, is that when Boost.Config is present
the library will automatically configure itself around various compiler defects.
In particular in order to use the library with exception support turned off,
you will either need a copy of Boost.Config in your include path, or else
manually define BOOST_NO_EXCEPTIONS when building.