make_ostream_joiner, from the Library Fundamentals v2 TS. See http://en.cppreference.com/w/cpp/experimental/ostream_joiner for more details.
Our implementation should be added to
util/backports.hpp, or to a separate header file included from there, inside
namespace ndn. The standard library implementation should be preferred whenever available.
Updated by Davide Pesavento over 3 years ago
Junxiao Shi wrote:
nfdc::text::Separator can already provide this functionality.
nfdc is not a library feature. Moreover,
text::Separator API is very restrictive, as it only allows
std::string as separator type.
ostream_joiner is completely generic, and has a somewhat different, "iterator-like" API.