1 ////////////////////////////////////////////////////////////////////////////////
3 // Author: Andy Rushton
4 // Copyright: (c) Southampton University 1999-2004
5 // (c) Andy Rushton 2004-2009
6 // License: BSD License, see ../docs/license.html
8 ////////////////////////////////////////////////////////////////////////////////
14 template <typename T, typename S>
15 void print_pointer(std::ostream& device,
18 const std::string& null_string,
19 const std::string& prefix,
20 const std::string& suffix)
25 print_fn(device, *value);
30 device << null_string;
34 } // end namespace stlplus