X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fstring_matrix.hpp;h=1ab0e82565fbd569f5c67346046e6e19f71a9187;hp=dd1fa2be737b74c1cef0c202a8d2981753d0ed29;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/string_matrix.hpp b/src/stlplus/strings/string_matrix.hpp index dd1fa2b..1ab0e82 100644 --- a/src/stlplus/strings/string_matrix.hpp +++ b/src/stlplus/strings/string_matrix.hpp @@ -1,31 +1,31 @@ -#ifndef STLPLUS_STRING_MATRIX -#define STLPLUS_STRING_MATRIX -//////////////////////////////////////////////////////////////////////////////// - -// 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 matrix - -//////////////////////////////////////////////////////////////////////////////// -#include "strings_fixes.hpp" -#include "matrix.hpp" -#include - -//////////////////////////////////////////////////////////////////////////////// - -namespace stlplus -{ - - template - std::string matrix_to_string(const matrix& values, - S to_string_fn, - const std::string& column_separator = "|", - const std::string& row_separator = ","); - -} // end namespace stlplus - -#include "string_matrix.tpp" -#endif +#ifndef STLPLUS_STRING_MATRIX +#define STLPLUS_STRING_MATRIX +//////////////////////////////////////////////////////////////////////////////// + +// 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 matrix + +//////////////////////////////////////////////////////////////////////////////// +#include "strings_fixes.hpp" +#include "matrix.hpp" +#include + +//////////////////////////////////////////////////////////////////////////////// + +namespace stlplus +{ + + template + std::string matrix_to_string(const matrix& values, + S to_string_fn, + const std::string& column_separator = "|", + const std::string& row_separator = ","); + +} // end namespace stlplus + +#include "string_matrix.tpp" +#endif