//////////////////////////////////////////////////////////////////////////////// // 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_foursome(std::ostream& device, const foursome& values, S1 print_fn1, S2 print_fn2, S3 print_fn3, S4 print_fn4, const std::string& separator) { print_fn1(device, values.first); device << separator; print_fn2(device, values.second); device << separator; print_fn3(device, values.third); device << separator; print_fn4(device, values.fourth); } } // end namespace stlplus