mirror of
https://github.com/boostorg/parser.git
synced 2026-01-30 08:02:33 +00:00
43 lines
2.9 KiB
HTML
43 lines
2.9 KiB
HTML
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>Macro BOOST_PARSER_ASSERT</title>
|
||
<link rel="stylesheet" href="boostbook.css" type="text/css">
|
||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||
<link rel="home" href="index.html" title="Chapter 1. Boost.Parser (Proposed)">
|
||
<link rel="up" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">
|
||
<link rel="prev" href="BOOST_PARSER_NO_R_idm19213.html" title="Macro BOOST_PARSER_NO_RUNTIME_ASSERTIONS">
|
||
<link rel="next" href="BOOST_PARSER_DISA_idm19225.html" title="Macro BOOST_PARSER_DISABLE_CONCEPTS">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
</head>
|
||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||
<div class="spirit-nav">
|
||
<a accesskey="p" href="BOOST_PARSER_NO_R_idm19213.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_DISA_idm19225.html"><img src="images/next.png" alt="Next"></a>
|
||
</div>
|
||
<div class="refentry">
|
||
<a name="BOOST_PARSER_ASSERT"></a><div class="titlepage"></div>
|
||
<div class="refnamediv">
|
||
<h2><span class="refentrytitle">Macro BOOST_PARSER_ASSERT</span></h2>
|
||
<p>BOOST_PARSER_ASSERT</p>
|
||
</div>
|
||
<h2 class="refsynopsisdiv-title">Synopsis</h2>
|
||
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="header/boost/parser/config_hpp.html" title="Header <boost/parser/config.hpp>">boost/parser/config.hpp</a>>
|
||
|
||
</span>BOOST_PARSER_ASSERT(condition)</pre></div>
|
||
<div class="refsect1">
|
||
<a name="idm18177"></a><h2>Description</h2>
|
||
<p>Asserts that the given condition is true. If <code class="computeroutput">BOOST_PARSER_NO_RUNTIME_ASSERTIONS</code> macro is defined by the user, <code class="computeroutput">BOOST_PARSER_ASSERT</code> expends to a compile-time <code class="computeroutput">static_assert()</code>. Otherwise, it expands to a run-time <code class="computeroutput">BOOST_ASSERT()</code>. </p>
|
||
</div>
|
||
</div>
|
||
<div class="copyright-footer">Copyright © 2020 T. Zachary Laine<p>
|
||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||
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>)
|
||
</p>
|
||
</div>
|
||
<hr>
|
||
<div class="spirit-nav">
|
||
<a accesskey="p" href="BOOST_PARSER_NO_R_idm19213.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/boost/parser/config_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="BOOST_PARSER_DISA_idm19225.html"><img src="images/next.png" alt="Next"></a>
|
||
</div>
|
||
</body>
|
||
</html>
|