X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_set.hpp;h=a032ccf1cdfed88809dd791d785de591a2e61721;hp=33c3835c40005fab42497f0bee78d33eac766c84;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/print_set.hpp b/src/stlplus/strings/print_set.hpp index 33c3835..a032ccf 100644 --- a/src/stlplus/strings/print_set.hpp +++ b/src/stlplus/strings/print_set.hpp @@ -1,36 +1,36 @@ -#ifndef STLPLUS_PRINT_SET -#define STLPLUS_PRINT_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 -#include - -namespace stlplus -{ - - template - void print_set(std::ostream& device, - const std::set& values, - S print_fn, - const std::string& separator = ","); - - template - void print_multiset(std::ostream& device, - const std::multiset& values, - S print_fn, - const std::string& separator = ","); - -} // end namespace stlplus - -#include "print_set.tpp" -#endif +#ifndef STLPLUS_PRINT_SET +#define STLPLUS_PRINT_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 +#include + +namespace stlplus +{ + + template + void print_set(std::ostream& device, + const std::set& values, + S print_fn, + const std::string& separator = ","); + + template + void print_multiset(std::ostream& device, + const std::multiset& values, + S print_fn, + const std::string& separator = ","); + +} // end namespace stlplus + +#include "print_set.tpp" +#endif