Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1136: Let BOOST_CHECK_EQUAL support std::wstring
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-30 17:46:32
#1136: Let BOOST_CHECK_EQUAL support std::wstring
---------------------------------+------------------------------------------
Reporter: pop.atry_at_[hidden] | Owner: rogeeff
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.34.1 | Severity: Problem
Resolution: | Keywords:
---------------------------------+------------------------------------------
Changes (by dlwalker):
* cc: dwalker07_at_[hidden] (added)
Comment:
The testing macros need to support any use of built-in wide-characters,
whether it's `std::wstring`, `wchar_t` arrays or pointers, or single
`wchar_t` values/objects. I guess you need a special case to
`wchar_t`-related types to be converted to `char` before being sent to the
testing `ostream`. Code points that are shared between `wchar_t` and
`char` should map directly, other code point values could map to an
escaped hex sequence.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/1136#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC