Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4454: iterator range output format, and for IO adaptor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-10 05:48:25
#4454: iterator range output format, and for IO adaptor
------------------------------------------------+------------------------
Reporter: Akira Takahashi <faithandbrave@â¦> | Owner: neilgroves
Type: Feature Requests | Status: closed
Milestone: Boost 1.56.0 | Component: range
Version: Boost 1.44.0 | Severity: Problem
Resolution: fixed | Keywords:
------------------------------------------------+------------------------
Comment (by Akira Takahashi <faithandbrave@â¦>):
I checked the feature.
Now interface is follow:
{{{
separated(v, ',')
}}}
I think better interface is follow:
{{{
v | separated(','); // pipe operator version (past participle)
separate(v, ','); // function version (present form)
}}}
More improvement interface:
{{{
v | formatted; // {a,b,c}
v | formatted(','); // {a,b,c}
v | formatted(',', '{', '}'); // {a,b,c}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4454#comment:8> 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:15 UTC