[Boost-docs] Qbk: [template] + code block

Subject: [Boost-docs] Qbk: [template] + code block
From: er (er.ci.2020_at_[hidden])
Date: 2011-03-23 17:54:01


*** NAIVE TRY (FAILS)

[template tpl_display[HEADER]

[heading Header]
``
     #include <[HEADER]>
``

]

[tpl_display [@file.hpp file.hpp]]

Displays

Header
     #include <[HEADER]>

*** WORKAROUND (NOT IDEAL)

[template tpl_display[HEADER]

[heading Header]
`#include <`[HEADER]`>`

]

[tpl_display [@file.hpp `file.hpp`]]

Displays:

Header
#include <file.hpp>

*** A BETTER SOLUTION?

Thanks.


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC