X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_pair.hpp;h=58dff79cd8f7bbf26e11d46545e097841ab04bd6;hp=144461f253103d990dd0e4ecd68e0ea35ff6e04f;hb=6c9943707d4f33035830eba0587a61a34eaecbc2;hpb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c diff --git a/src/stlplus/strings/print_pair.hpp b/src/stlplus/strings/print_pair.hpp index 144461f..58dff79 100644 --- a/src/stlplus/strings/print_pair.hpp +++ b/src/stlplus/strings/print_pair.hpp @@ -1,31 +1,31 @@ -#ifndef STLPLUS_PRINT_PAIR -#define STLPLUS_PRINT_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 -#include - -namespace stlplus -{ - - template - void print_pair(std::ostream& device, - const std::pair& values, - S1 print_fn1, - S2 print_fn2, - const std::string& separator = ":"); - -} // end namespace stlplus - -#include "print_pair.tpp" -#endif +#ifndef STLPLUS_PRINT_PAIR +#define STLPLUS_PRINT_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 +#include + +namespace stlplus +{ + + template + void print_pair(std::ostream& device, + const std::pair& values, + S1 print_fn1, + S2 print_fn2, + const std::string& separator = ":"); + +} // end namespace stlplus + +#include "print_pair.tpp" +#endif