Re: [boost] BOOST_NO_STD_LOCALE & BOOST_NO_STD_WSTREAMBUF

28 Apr
2023
28 Apr
'23
1:06 a.m.
On Thu, Apr 27, 2023 at 6:13 PM Robert Ramey via Boost < boost@lists.boost.org> 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
700
Age (days ago)
700
Last active (days ago)
0 comments
1 participants
participants (1)
-
Glen Fernandes