Boost logo

Boost :

Subject: Re: [boost] The boost bug tracker mutilates code snippets
From: Henrik Sundberg (storangen_at_[hidden])
Date: 2009-11-16 05:16:31


Enclose snippets with {{{ }}}, ie:
 {{{
  def HelloWorld():
      print "Hello World"
 }}}

See the page WikiFormatting.
/$

On Mon, Nov 16, 2009 at 11:11 AM, Dmitry Goncharov
<dgoncharov_at_[hidden]> wrote:
> E.g. this piece of code
>
>   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
>
> becomes
>
> 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
>
>
> Can this be fixed?
>
> BR, Dmitry
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


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