Opened 6 years ago

#12772 new Feature Requests

Interval streaming does not work for std::wstring

Reported by: gast128@… Owned by: Joachim Faulhaber
Milestone: To Be Determined Component: ICL
Version: Boost 1.63.0 Severity: Optimization
Keywords: Cc:

Description

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;
   }
}

Change History (0)

Note: See TracTickets for help on using tickets.