1[article C++ Code Blocks 2[quickbook 1.5] 3] 4 5 #include <some_header> 6 #include "another_header.hpp" 7 # define A_MACRO value 8 #define stringize(hello) #hello 9 // No escape 10 /* No escape */ 11 /* No escape 12 * with newlines 13 */ 14 // In Header: <``[@boost:/boost/optional/optional.hpp boost/optional/optional.hpp]``> 15 /* In Header: <``[@boost:/boost/optional/optional.hpp boost/optional/optional.hpp]``> */ 16 /* Multiple escapes: ``/italic/`` 17 * ``_underline_````*bold*`` 18 */ 19 /* Token pasting: */ a##b 20 21A badly formed comment: 22 23 /* Oh dear 24 25A badly formed comment with an escape: 26 27 /* Oh dear ``*bold*`` 28 29Just some code: 30 31 int main() { 32 constexpr char32_t x = 'a'; 33 const auto y = x - ' '; 34 } 35