Subject: [Boost-bugs] [Boost C++ Libraries] #12772: Interval streaming does not work for std::wstring
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-18 09:37:09
#12772: Interval streaming does not work for std::wstring
------------------------------+--------------------------
Reporter: gast128@⦠| Owner: jofaber
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: ICL
Version: Boost 1.63.0 | Severity: Optimization
Keywords: |
------------------------------+--------------------------
Stream operators for intervals only work for std::string, e.g. the
following code gives a compilation error:
{{{
void Test()
{
typedef boost::icl::interval_set<int> IntervalSet;
IntervalSet setSimple;
setSimple.add(1).add(3);
for (const IntervalSet::value_type& r : setSimple)
{
std::wstringstream wsstr;
wsstr << r;
}
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12772> 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:50:20 UTC