#ifndef STLPLUS_STRING_VECTOR #define STLPLUS_STRING_VECTOR //////////////////////////////////////////////////////////////////////////////// // Author: Andy Rushton // Copyright: (c) Southampton University 1999-2004 // (c) Andy Rushton 2004-2009 // License: BSD License, see ../docs/license.html // Generate a string representation of a vector //////////////////////////////////////////////////////////////////////////////// #include "strings_fixes.hpp" #include #include namespace stlplus { //////////////////////////////////////////////////////////////////////////////// // vector template std::string vector_to_string(const std::vector& values, S to_string_fn, const std::string& separator = ","); // specialisation for vector which has a different implementation std::string bool_vector_to_string(const std::vector& values); //////////////////////////////////////////////////////////////////////////////// } // end namespace stlplus #include "string_vector.tpp" #endif