Boost logo

Boost :

Subject: Re: [boost] The boost bug tracker mutilates code snippets
From: Richard Webb (richard.webb_at_[hidden])
Date: 2009-11-16 05:19:18


You can mark the text as a code block by surrounding it with {{{ }}}. Should
be something like:

{{{

    boost::asio::io_service ios;
    boost::asio::posix::stream_descriptor sd(ios, p[0]);
    ios.reset();
    int invoked = 0;
    boost::asio::async_read(sd, boost::asio::null_buffers(),
boost::bind(&local::on_ready, _1, &invoked));
    ios.poll_one();
    BOOST_CHECK(!invoked); // doesn't pass

}}}

Theres a 'code block' button above the edit field that inserts the braces
for you.

-- 
View this message in context: http://old.nabble.com/Strict-or-lax-build-configuration-tp26369324p26369570.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

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