Boost logo

Boost :

From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2023-04-28 01:06:54


On Thu, Apr 27, 2023 at 6:13 PM Robert Ramey via Boost <
boost_at_[hidden]> wrote:

> in boost/config/detail/suffix.hpp
> I find this bit of code:
> //
> // We can't have a working std::wstreambuf if there is no std::locale:
> //
> # if defined(BOOST_NO_STD_LOCALE) && !defined(BOOST_NO_STD_WSTREAMBUF)
> # define BOOST_NO_STD_WSTREAMBUF
> # endif
>
> and believe it or not. this is now causing me some issues. Is the
> statement above true? Do we know that wide char streams cannot exist
> without std::locale being present? Can anyone shed light on this?
>

Not just std::wstreambuf but also std::streambuf. ie. std::basic_streambuf
depends on std::locale.

Glen


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