Boost logo

Boost :

Subject: [boost] [quickbook] probs with docu generation (C++ code)
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2008-10-27 03:37:41


Hello,
I've a porblem with document generation with quickbook. The code in the *.qbk files get some strange extra characters appended (in the example belwo: 'e seco').
Could please so kind to help?

regards,
Oliver

threadpool.qbk

boost::tp::pool<
      boost::tp::unbounded_channel< boost::tp::fifo >
> pool(
      boost::tp::poolsize( 6),
      boost::posix_time::posix_time::milliseconds( 50),
      boost::tp::scanns(10) );

generates in the output:

    boost::tp::pool<
      boost::tp::unbounded_channel< boost::tp::fifo >
> pool(
      boost::tp::poolsize( 6),
      boost::posix_time::posix_time::milliseconds( 50),
      boost::tp::scanns(10) );
e seco

^^^^^^^
why are this chars inserted

quickbook xml output:

<programlisting>
    <phrase role="identifier">boost</phrase><phrase role="special">::</phrase><phrase role="identifier">tp</phrase><phrase role="special">::</phrase><phrase role="identifier">pool</phrase><phrase role="special">&lt;</phrase>
      <phrase role="identifier">boost</phrase><phrase role="special">::</phrase><phrase role="identifier">tp</phrase><phrase role="special">::</phrase><phrase role="identifier">unbounded_channel</phrase><phrase role="special">&lt;</phrase> <phrase role="identifier">boost</phrase><phrase role="special">::</phrase><phrase role="identifier">tp</phrase><phrase role="special">::</phrase><phrase role="identifier">fifo</phrase> <phrase role="special">&gt;</phrase>
    <phrase role="special">&gt;</phrase> <phrase role="identifier">pool</phrase><phrase role="special">(</phrase>
      <phrase role="identifier">boost</phrase><phrase role="special">::</phrase><phrase role="identifier">tp</phrase><phrase role="special">::</phrase><phrase role="identifier">poolsize</phrase><phrase role="special">(</phrase> <phrase role="number">6</phrase><phrase role="special">),</phrase>
      <phrase role="identifier">boost</phrase><phrase role="special">::</phrase><phrase role="identifier">posix_time</phrase><phrase role="special">::</phrase><phrase role="identifier">posix_time</phrase><phrase role="special">::</phrase><phrase role="identifier">milliseconds</phrase><phrase role="special">(</phrase> <phrase role="number">50</phrase><phrase role="special">),</phrase>
      <phrase role="identifier">boost</phrase><phrase role="special">::</phrase><phrase role="identifier">tp</phrase><phrase role="special">::</phrase><phrase role="identifier">scanns</phrase><phrase role="special">(</phrase><phrase role="number">10</phrase><phrase role="special">)</phrase> <phrase role="special">);</phrase>
<phrase role="identifier">e</phrase> <phrase role="identifier">seco</phrase></programlisting>

-- 
GMX Download-Spiele: Preizsturz! Alle Puzzle-Spiele Deluxe über 60% billiger.
http://games.entertainment.gmx.net/de/entertainment/games/download/puzzle/index.html



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk