Boost logo

Boost Users :

Subject: [Boost-users] boost::asio::streambuf and wide chars
From: Cain Miley (cainjonm_at_[hidden])
Date: 2009-02-18 03:49:03


Hi, currently i have:

boost::asio::streambuf request;
  std::ostream requestStream(&request);

requestStream << "hello world";

if i change 'std::ostream' to 'std::wostream' (because streambuf uses char's
i assume?) i get an error, how would i do this with wide chars?

(sorry if that didn't make much sense)



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