On 7/11/07, John Maddock <[EMAIL PROTECTED]> wrote:
> David Abrahams wrote:
> >   ...unless the code examples in our documentation are tested, they
> >   will be wrong...

100% agree.

> > For those willing to use RestructuredText, there is LitRe, in the
> > tools subdirectory of the Boost tree.  Aleksey and I used that for our
> > book and Daniel and I used it for the Boost.Parameter docs.
> > http://lists.boost.org/boost-testing/2005/03/0493.php
>
> You can already use quickbook to import your code examples (AKA "reverse
> literate programming"), so it is possible to have only one version of an
> example, and to have it tested as well as in the docs, albeit not in the way
> you invision.
>
> It would still make a great feature though..

Indeed. For small snippets it is somewhat unnatural to keep them
separate from the qbk source.

Best regards
Matias

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to