X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FString.hh;h=10f523e6787e33c5af3aebad942e694635cfbe73;hb=412024ed31a4ab4eaea7a4165a434f8efebee325;hp=0b8028f425abf15302aced903d0e2d937aee1747;hpb=24ccc14a000ffeceb9e5b6d02f54d2e971a3aee8;p=senf.git diff --git a/Utils/String.hh b/Utils/String.hh index 0b8028f..10f523e 100644 --- a/Utils/String.hh +++ b/Utils/String.hh @@ -23,8 +23,8 @@ /** \file \brief String public header */ -#ifndef HH_String_ -#define HH_String_ 1 +#ifndef HH_SENF_Utils_String_ +#define HH_SENF_Utils_String_ 1 // Custom includes #include @@ -34,6 +34,11 @@ namespace senf { + /** \brief Join string range with separator into single string + + This utility will build string by joining all elements of \a range into a single string + using \a sep as separator. The \a range may contain values of any streamable type. + */ template std::string stringJoin(ForwardReadableRange const & range, std::string sep);