X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fstring_pair.hpp;h=c55f51c6f279e2351fb45ddbac146bf106649182;hp=483a0b16a861baff19d32a8dbd9c265dded12667;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/string_pair.hpp b/src/stlplus/strings/string_pair.hpp index 483a0b1..c55f51c 100644 --- a/src/stlplus/strings/string_pair.hpp +++ b/src/stlplus/strings/string_pair.hpp @@ -1,29 +1,29 @@ -#ifndef STLPLUS_STRING_PAIR -#define STLPLUS_STRING_PAIR -//////////////////////////////////////////////////////////////////////////////// - -// 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 pair - -//////////////////////////////////////////////////////////////////////////////// -#include "strings_fixes.hpp" -#include -#include - -namespace stlplus -{ - - template - std::string pair_to_string(const std::pair& values, - S1 to_string_fn1, - S2 to_string_fn2, - const std::string& separator = ":"); - -} // end namespace stlplus - -#include "string_pair.tpp" -#endif +#ifndef STLPLUS_STRING_PAIR +#define STLPLUS_STRING_PAIR +//////////////////////////////////////////////////////////////////////////////// + +// 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 pair + +//////////////////////////////////////////////////////////////////////////////// +#include "strings_fixes.hpp" +#include +#include + +namespace stlplus +{ + + template + std::string pair_to_string(const std::pair& values, + S1 to_string_fn1, + S2 to_string_fn2, + const std::string& separator = ":"); + +} // end namespace stlplus + +#include "string_pair.tpp" +#endif