From 5f15c119fc789e3d6452706ee3c347354463d404 Mon Sep 17 00:00:00 2001
From: Peter Dimov
Date: Tue, 6 Jun 2017 06:02:19 +0300
Subject: [PATCH] Line wrap to ~80 columns because PDF
---
doc/assert.adoc | 15 ++++++++-------
doc/html/assert.html | 15 ++++++++-------
2 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/doc/assert.adoc b/doc/assert.adoc
index b158ab6..4aae737 100644
--- a/doc/assert.adoc
+++ b/doc/assert.adoc
@@ -32,8 +32,8 @@ code.
is included, `BOOST_ASSERT(expr)` expands to
+
```
-(BOOST_LIKELY(!!(expr))? ((void)0):
- ::boost::assertion_failed(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
+(BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed(#expr,
+ BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
```
+
That is, it evaluates `expr` and if it's false, calls
@@ -45,7 +45,8 @@ This is true regardless of whether `NDEBUG` is defined.
```
namespace boost
{
- void assertion_failed(char const * expr, char const * function, char const * file, long line);
+ void assertion_failed(char const * expr, char const * function,
+ char const * file, long line);
}
```
+
@@ -74,8 +75,8 @@ the macro `NDEBUG` is defined.
is included, `BOOST_ASSERT_MSG(expr,msg)` expands to
+
```
-(BOOST_LIKELY(!!(expr))? ((void)0):
- ::boost::assertion_failed_msg(#expr, msg, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
+(BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed_msg(#expr,
+ msg, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
```
+
This is true regardless of whether `NDEBUG` is defined.
@@ -85,8 +86,8 @@ This is true regardless of whether `NDEBUG` is defined.
```
namespace boost
{
- void assertion_failed_msg(char const * expr, char const * msg, char const * function,
- char const * file, long line);
+ void assertion_failed_msg(char const * expr, char const * msg,
+ char const * function, char const * file, long line);
}
```
+
diff --git a/doc/html/assert.html b/doc/html/assert.html
index c771594..ee355ff 100644
--- a/doc/html/assert.html
+++ b/doc/html/assert.html
@@ -482,8 +482,8 @@ affecting the definition of the standard assert
.
is included, BOOST_ASSERT(expr)
expands to
-
(BOOST_LIKELY(!!(expr))? ((void)0):
- ::boost::assertion_failed(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
+
(BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed(#expr,
+ BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
@@ -498,7 +498,8 @@ This is true regardless of whether
NDEBUG
is defined.
namespace boost
{
- void assertion_failed(char const * expr, char const * function, char const * file, long line);
+ void assertion_failed(char const * expr, char const * function,
+ char const * file, long line);
}
@@ -540,8 +541,8 @@ the macro NDEBUG
is defined.
is included, BOOST_ASSERT_MSG(expr,msg)
expands to
-
(BOOST_LIKELY(!!(expr))? ((void)0):
- ::boost::assertion_failed_msg(#expr, msg, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
+
(BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed_msg(#expr,
+ msg, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
@@ -554,8 +555,8 @@ is included,
BOOST_ASSERT_MSG(expr,msg)
expands to
namespace boost
{
- void assertion_failed_msg(char const * expr, char const * msg, char const * function,
- char const * file, long line);
+ void assertion_failed_msg(char const * expr, char const * msg,
+ char const * function, char const * file, long line);
}