[Boost-docs] Quickbook - Snippet markup

Subject: [Boost-docs] Quickbook - Snippet markup
From: er (er.ci.2020_at_[hidden])
Date: 2011-03-12 03:37:16


About:

http://www.boost.org/doc/libs/1_46_0/doc/html/quickbook/syntax.html#quickbook.syntax.block.import.code_snippet_markup

Consider:

//[foo
struct Foo{

     Foo()
//<-
        : x( 10 )
     {}
//->

//<-
     int x;
//->
};
//]

It yields:

struct Foo{

     Foo()

};

But I would like, instead, a declarative statement for the constructor:

struct Foo{

     Foo();

};

For now, I do, in addition to the actual code

//[foo
/*`
``
     struct Foo{

         Foo();

     };
``
//]

but I would prefer markups within the actual code. How, then, please?
Thanks.


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