From 19fcec84d8d7d21e796c7624e521b60d28ee21ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:45:59 +0200 Subject: Adding upstream version 16.2.11+ds. Signed-off-by: Daniel Baumann --- .../tools/quickbook/test/callouts-1_7.gold-html | 302 +++++++++++++++++++++ 1 file changed, 302 insertions(+) create mode 100644 src/boost/tools/quickbook/test/callouts-1_7.gold-html (limited to 'src/boost/tools/quickbook/test/callouts-1_7.gold-html') diff --git a/src/boost/tools/quickbook/test/callouts-1_7.gold-html b/src/boost/tools/quickbook/test/callouts-1_7.gold-html new file mode 100644 index 000000000..4ca439bb2 --- /dev/null +++ b/src/boost/tools/quickbook/test/callouts-1_7.gold-html @@ -0,0 +1,302 @@ + + + + +

+ Callout Tests +

+
+

+ Table of contents +

+ +
+

+ Example 1: +

+

+ Now we can define a function that simulates an ordinary six-sided die. +

+
int roll_die() {
+  boost::uniform_int<> dist(1, 6); (1)
+}
+
+
+
+ (1) +

+ create a uniform_int distribution +

+
+
+

+ Example 2: +

+
int roll_die() {
+  (1)boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(gen, dist);
+}
+
+
+
+ (1) +
+

+ test +

+
+
+
+

+ Example 3: +

+
int roll_die() {
+  (1)boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(gen, dist);
+}
+
+
+
+ (1) +
+

+ test +

+
+
+
+

+ Example 3 (again!): +

+
int roll_die() {
+  (1)boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(gen, dist);
+}
+
+
+
+ (1) +
+

+ test +

+
+
+
+

+ Example 4: +

+
int roll_die() {
+  (1)boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(gen, dist);
+  (2)boost::uniform_int<> dist(1, 6); (3)
+}
+
+
+
+ (1) +

+ callout 1 +

+
+
+ (2) +

+ callout 2 +

+
+
+ (3) +

+ create a uniform_int distribution +

+
+
+
(1)boost::uniform_int<> dist(1, 6); (2)
+
+
+
+ (1) +

+ callout 2 +

+
+
+ (2) +

+ create a uniform_int distribution +

+
+
+
+

+ Try callouts in a section +

+
+

+ Example 1: +

+

+ Now we can define a function that simulates an ordinary six-sided die. +

+
int roll_die() {
+  boost::uniform_int<> dist(1, 6); (1)
+}
+
+
+
+ (1) +

+ create a uniform_int distribution +

+
+
+

+ Example 2: +

+
int roll_die() {
+  (1)boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(gen, dist);
+}
+
+
+
+ (1) +
+

+ test +

+
+
+
+

+ Example 3: +

+
int roll_die() {
+  (1)boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(gen, dist);
+}
+
+
+
+ (1) +
+

+ test +

+
+
+
+

+ Example 3 (again!): +

+
int roll_die() {
+  (1)boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(gen, dist);
+}
+
+
+
+ (1) +
+

+ test +

+
+
+
+

+ Example 4: +

+
int roll_die() {
+  (1)boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(gen, dist);
+  (2)boost::uniform_int<> dist(1, 6); (3)
+}
+
+
+
+ (1) +

+ callout 1 +

+
+
+ (2) +

+ callout 2 +

+
+
+ (3) +

+ create a uniform_int distribution +

+
+
+
(1)boost::uniform_int<> dist(1, 6); (2)
+
+
+
+ (1) +

+ callout 2 +

+
+
+ (2) +

+ create a uniform_int distribution +

+
+
+
+
+
+

+ Callouts in code blocks +

+
+
int roll_die() {
+  boost::uniform_int<> dist(1, 6); (1)
+}
+
+
+
+ (1) +

+ create a uniform_int distribution +

+
+
+
int roll_die() {
+  (1)boost::variate_generator<boost::mt19937&, boost::uniform_int<> > die(gen, dist);
+}
+
+
+
+ (1) +
+

+ test +

+
+
+
+

+ /*< This shouldn't be a callout >*/ +

+

+ Silly test(1) +

+
+
+ (1) +

+ silly +

+
+
+
+
+ + -- cgit v1.2.3