Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Stroika::Foundation::Characters::StringCombiner< STRING > Struct Template Reference

StringCombiner is a simple function object used to combine two strings visually - used in Iterable<>::Join () More...

#include <String.h>

Detailed Description

template<typename STRING = String>
struct Stroika::Foundation::Characters::StringCombiner< STRING >

StringCombiner is a simple function object used to combine two strings visually - used in Iterable<>::Join ()

This can combine strings in the obvious way (concatenation) - but defaults to separating them with a comma (', ').

Note
the functional api - is to be given two strings, and a flag saying if the combination is the last one in the list, since in English, this is frequently rendered somewhat differently than the rest.

Definition at line 1912 of file String.h.


The documentation for this struct was generated from the following files: