X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_list.hpp;h=fd1027a61d68c9277ed4ebc6ad0bac27c47f11ee;hp=d1767b2ce637c12ee3fb523981b76facb9950f5c;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/print_list.hpp b/src/stlplus/strings/print_list.hpp index d1767b2..fd1027a 100644 --- a/src/stlplus/strings/print_list.hpp +++ b/src/stlplus/strings/print_list.hpp @@ -1,30 +1,30 @@ -#ifndef STLPLUS_PRINT_LIST -#define STLPLUS_PRINT_LIST -//////////////////////////////////////////////////////////////////////////////// - -// 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 list - -//////////////////////////////////////////////////////////////////////////////// -#include "strings_fixes.hpp" -#include -#include -#include - -namespace stlplus -{ - - template - void print_list(std::ostream& device, - const std::list& values, - S print_fn, - const std::string& separator = ","); - -} // end namespace stlplus - -#include "print_list.tpp" -#endif +#ifndef STLPLUS_PRINT_LIST +#define STLPLUS_PRINT_LIST +//////////////////////////////////////////////////////////////////////////////// + +// 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 list + +//////////////////////////////////////////////////////////////////////////////// +#include "strings_fixes.hpp" +#include +#include +#include + +namespace stlplus +{ + + template + void print_list(std::ostream& device, + const std::list& values, + S print_fn, + const std::string& separator = ","); + +} // end namespace stlplus + +#include "print_list.tpp" +#endif