X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_string.hpp;h=42ba9abfa4e12ceee43639df335709bdc9256aba;hp=dd23f56646c126d32570bbb382d14f4db7227c85;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/print_string.hpp b/src/stlplus/strings/print_string.hpp index dd23f56..42ba9ab 100644 --- a/src/stlplus/strings/print_string.hpp +++ b/src/stlplus/strings/print_string.hpp @@ -1,26 +1,26 @@ -#ifndef STLPLUS_PRINT_STRING -#define STLPLUS_PRINT_STRING -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -// Functions for converting C/STL strings to string - -// This is necessary for completeness, e.g. for use in print_vector for vector - -//////////////////////////////////////////////////////////////////////////////// -#include "strings_fixes.hpp" -#include -#include -#include - -namespace stlplus -{ - - void print_string(std::ostream& device, const std::string& value); -} - -#endif +#ifndef STLPLUS_PRINT_STRING +#define STLPLUS_PRINT_STRING +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +// Functions for converting C/STL strings to string + +// This is necessary for completeness, e.g. for use in print_vector for vector + +//////////////////////////////////////////////////////////////////////////////// +#include "strings_fixes.hpp" +#include +#include +#include + +namespace stlplus +{ + + void print_string(std::ostream& device, const std::string& value); +} + +#endif