iterator: add make_infix example
This commit is contained in:
parent
d206b316a9
commit
f9a202877a
@ -146,6 +146,8 @@ namespace util {
|
|||||||
/// the given delimiter.
|
/// the given delimiter.
|
||||||
///
|
///
|
||||||
/// reduces boilerplate code required to output lists of things
|
/// reduces boilerplate code required to output lists of things
|
||||||
|
///
|
||||||
|
/// std::cout << util::make_infix (container) << '\n';
|
||||||
template <typename ContainerT, typename CharT = char>
|
template <typename ContainerT, typename CharT = char>
|
||||||
auto
|
auto
|
||||||
make_infix (const ContainerT &_container, const CharT *_delimiter = ", ")
|
make_infix (const ContainerT &_container, const CharT *_delimiter = ", ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user