Boost logo

Boost Users :

Subject: Re: [Boost-users] Different behavior of boost::serialization of strings on text archive
From: Bjorn Reese (breese_at_[hidden])
Date: 2013-07-03 10:37:17


On 07/03/2013 12:25 PM, Andrea Ranieri wrote:

> connection_.async_write("abcd", boost::bind(&client::handle_write,
> this, boost::asio::placeholders::error));

What happens if you pass std::string("abcd") as the first argument
instead the "abcd" literal?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net