X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fstring_vector.tpp;h=9e2f3859505260ef889a03b7eaf38baf79492f72;hp=de535ee9871df3c7dd70744133f60dcd74aa822e;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/string_vector.tpp b/src/stlplus/strings/string_vector.tpp index de535ee..9e2f385 100644 --- a/src/stlplus/strings/string_vector.tpp +++ b/src/stlplus/strings/string_vector.tpp @@ -1,22 +1,22 @@ -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -//////////////////////////////////////////////////////////////////////////////// -#include "string_sequence.hpp" - -namespace stlplus -{ - - template - std::string vector_to_string(const std::vector& values, - S to_string_fn, - const std::string& separator) - { - return sequence_to_string(values.begin(), values.end(), to_string_fn, separator); - } - -} // end namespace stlplus +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +//////////////////////////////////////////////////////////////////////////////// +#include "string_sequence.hpp" + +namespace stlplus +{ + + template + std::string vector_to_string(const std::vector& values, + S to_string_fn, + const std::string& separator) + { + return sequence_to_string(values.begin(), values.end(), to_string_fn, separator); + } + +} // end namespace stlplus