X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fstring_set.hpp;h=8c155439c6e93ae4a3f96c529b113b8bcd13fa3d;hp=ce06768ae34e0a0448ddec3217a3fc47a6ad4c9f;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/string_set.hpp b/src/stlplus/strings/string_set.hpp index ce06768..8c15543 100644 --- a/src/stlplus/strings/string_set.hpp +++ b/src/stlplus/strings/string_set.hpp @@ -1,33 +1,33 @@ -#ifndef STLPLUS_STRING_SET -#define STLPLUS_STRING_SET -//////////////////////////////////////////////////////////////////////////////// - -// 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 set/multiset - -//////////////////////////////////////////////////////////////////////////////// -#include "strings_fixes.hpp" -#include -#include - -namespace stlplus -{ - - template - std::string set_to_string(const std::set& values, - S to_string_fn, - const std::string& separator = ","); - - template - std::string multiset_to_string(const std::multiset& values, - S to_string_fn, - const std::string& separator = ","); - -} // end namespace stlplus - -#include "string_set.tpp" -#endif +#ifndef STLPLUS_STRING_SET +#define STLPLUS_STRING_SET +//////////////////////////////////////////////////////////////////////////////// + +// 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 set/multiset + +//////////////////////////////////////////////////////////////////////////////// +#include "strings_fixes.hpp" +#include +#include + +namespace stlplus +{ + + template + std::string set_to_string(const std::set& values, + S to_string_fn, + const std::string& separator = ","); + + template + std::string multiset_to_string(const std::multiset& values, + S to_string_fn, + const std::string& separator = ","); + +} // end namespace stlplus + +#include "string_set.tpp" +#endif