|
Boost Users : |
Subject: Re: [Boost-users] [Fusion] wide-char output
From: Mark Stallard (stallard_at_[hidden])
Date: 2017-04-05 16:43:05
Leo Cacciari <leo.cacciari_at_[hidden]> wrote:
> Accordingly, I thought that the following would work:
>
> using boost::fusion::operator<<;
> fusion::vector<int, double, const char *> v = fusion::make_vector(42, 3.1415, "foobar");
> std::wcout << "v = " << v << std::endl;
Forgive me if I'm missing something obvious: Could the problem be that your passing char-based strings to an output stream expecting wchar_t-based text?
Couldn't you fix this by writing to std:cout instead of std::wcout?
|+| M a r k |+|
Mark Stallard
Business Application Services
Global Business Services Information Technology
Raytheon Company
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