iterator/infix: style
This commit is contained in:
parent
b44fda51a3
commit
9243f259e2
@ -74,9 +74,12 @@ namespace cruft::iterator {
|
|||||||
std::ostream&
|
std::ostream&
|
||||||
operator<< (std::ostream &os, const infix_t<ContainerT,CharT> &val)
|
operator<< (std::ostream &os, const infix_t<ContainerT,CharT> &val)
|
||||||
{
|
{
|
||||||
std::copy (std::cbegin (val._container),
|
std::copy (
|
||||||
|
std::cbegin (val._container),
|
||||||
std::cend (val._container),
|
std::cend (val._container),
|
||||||
infix_iterator<typename ContainerT::value_type> (os, val._delimiter));
|
infix_iterator<typename ContainerT::value_type> (os, val._delimiter)
|
||||||
|
);
|
||||||
|
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user