Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.
BoostBook element source
c++boost.gif (8819 bytes)HomeLibrariesPeopleFAQMore

BoostBook element source

source — Defines source code for a test

Synopsis

source ::= (#PCDATA| snippet)*

Description

This element will contain the source code for a testcase that will be generated from the documentation. To reduce the amount of escaping in the text, it is recommended to use CDATA sections, which look like this:

<![CDATA[
<your program text here: no escaping needed!>
]]>

In addition to CDATA sections, code snippets can be pulled in from programlisting elements using the snippet element.

Last revised: , at GMTCopyright © 2003 Douglas Gregor