projects
/
platform
/
upstream
/
boost.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.57.0
[platform/upstream/boost.git]
/
tools
/
quickbook
/
test
/
code_cpp-1_5.quickbook
diff --git
a/tools/quickbook/test/code_cpp-1_5.quickbook
b/tools/quickbook/test/code_cpp-1_5.quickbook
index
be8043a
..
fdaa926
100644
(file)
--- a/
tools/quickbook/test/code_cpp-1_5.quickbook
+++ b/
tools/quickbook/test/code_cpp-1_5.quickbook
@@
-2,6
+2,10
@@
[quickbook 1.5]
]
[quickbook 1.5]
]
+ #include <some_header>
+ #include "another_header.hpp"
+ # define A_MACRO value
+ #define stringize(hello) #hello
// No escape
/* No escape */
/* No escape
// No escape
/* No escape */
/* No escape
@@
-12,6
+16,7
@@
/* Multiple escapes: ``/italic/``
* ``_underline_````*bold*``
*/
/* Multiple escapes: ``/italic/``
* ``_underline_````*bold*``
*/
+ /* Token pasting: */ a##b
A badly formed comment:
A badly formed comment:
@@
-20,3
+25,10
@@
A badly formed comment:
A badly formed comment with an escape:
/* Oh dear ``*bold*``
A badly formed comment with an escape:
/* Oh dear ``*bold*``
+
+Just some code:
+
+ int main() {
+ constexpr char32_t x = 'a';
+ const auto y = x - ' ';
+ }