From e6918187568dbd01842d8d1d2c808ce16a894239 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:54:28 +0200 Subject: Adding upstream version 18.2.2. Signed-off-by: Daniel Baumann --- .../tools/quickbook/test/include/code-import.gold | 138 +++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 src/boost/tools/quickbook/test/include/code-import.gold (limited to 'src/boost/tools/quickbook/test/include/code-import.gold') diff --git a/src/boost/tools/quickbook/test/include/code-import.gold b/src/boost/tools/quickbook/test/include/code-import.gold new file mode 100644 index 000000000..12089ece2 --- /dev/null +++ b/src/boost/tools/quickbook/test/include/code-import.gold @@ -0,0 +1,138 @@ + + +
+ Import + + This is the foo function. + + + This description can have paragraphs... + + + + + lists + + + + + etc. + + + + + And any quickbook block markup. + + +std::string foo() +{ + // return 'em, foo man! + return "foo"; +} + + + + This is the Python foo + function. + + + This description can have paragraphs... + + + + + lists + + + + + etc. + + + + + And any quickbook block markup. + + +def foo(): + # return 'em, foo man! + return "foo" + + + + This is the C foo function. + + + This description can have paragraphs... + + + + + lists + + + + + etc. + + + + + And any quickbook block markup. + + +char* foo() +{ + // return 'em, foo man! + return "foo"; +} + + + +class x +{ +public: + + x() : n(0) + { + } + + ~x() + { + } + + int get() const + { + return n; + } + + void set(int n_) + { + n = n_; + } +}; + + + + + + Constructor + + + + + Destructor + + + + + Get the n member variable + + + + + Set the n member variable + + + +
-- cgit v1.2.3