X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_pair.tpp;h=1d98050c0d8edd2f76e2580003df22b88b01d68f;hp=a93c0c0482fbd8e02624c3d86e9b69efeb1a04fe;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c diff --git a/src/stlplus/strings/print_pair.tpp b/src/stlplus/strings/print_pair.tpp index a93c0c0..1d98050 100644 --- a/src/stlplus/strings/print_pair.tpp +++ b/src/stlplus/strings/print_pair.tpp @@ -1,25 +1,25 @@ -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -//////////////////////////////////////////////////////////////////////////////// - -namespace stlplus -{ - - template - void print_pair(std::ostream& device, - const std::pair& values, - S1 print_fn1, - S2 print_fn2, - const std::string& separator) - { - print_fn1(device, values.first); - device << separator; - print__fn2(device, values.second); - } - -} // end namespace stlplus +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +//////////////////////////////////////////////////////////////////////////////// + +namespace stlplus +{ + + template + void print_pair(std::ostream& device, + const std::pair& values, + S1 print_fn1, + S2 print_fn2, + const std::string& separator) + { + print_fn1(device, values.first); + device << separator; + print__fn2(device, values.second); + } + +} // end namespace stlplus