X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_hash.tpp;h=84d2fe4d3b5d83131a693aee55f48db5e6b1b267;hp=5b3bd96f588dabb0ae813f47be129113b5bfda54;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/print_hash.tpp b/src/stlplus/strings/print_hash.tpp index 5b3bd96..84d2fe4 100644 --- a/src/stlplus/strings/print_hash.tpp +++ b/src/stlplus/strings/print_hash.tpp @@ -1,29 +1,29 @@ -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -//////////////////////////////////////////////////////////////////////////////// -#include "print_sequence.hpp" - -namespace stlplus -{ - - template - void print_hash(std::ostream& device, - const hash& values, - KS key_print_fn, - TS value_print_fn, - const std::string& pair_separator, - const std::string& separator) - { - print_pair_sequence(device, - values.begin(), values.end(), - key_print_fn, value_print_fn, - pair_separator, separator); - } - -} // end namespace stlplus - +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +//////////////////////////////////////////////////////////////////////////////// +#include "print_sequence.hpp" + +namespace stlplus +{ + + template + void print_hash(std::ostream& device, + const hash& values, + KS key_print_fn, + TS value_print_fn, + const std::string& pair_separator, + const std::string& separator) + { + print_pair_sequence(device, + values.begin(), values.end(), + key_print_fn, value_print_fn, + pair_separator, separator); + } + +} // end namespace stlplus +