]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_pointer.hpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / print_pointer.hpp
1 #ifndef STLPLUS_PRINT_POINTER
2 #define STLPLUS_PRINT_POINTER
3 ////////////////////////////////////////////////////////////////////////////////
4
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004-2009
8 // License: BSD License, see ../docs/license.html
9
10 // Generate a string representation of an object pointed to
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include <string>
15 #include <iostream>
16
17 namespace stlplus
18 {
19
20 template <typename T, typename S>
21 void print_pointer(std::ostream& device,
22 const T* value,
23 S print_fn,
24 const std::string& null_string = "<null>",
25 const std::string& prefix = "(",
26 const std::string& suffix = ")");
27
28
29 }
30
31 #include "print_pointer.tpp"
32 #endif
This page took 0.030756 seconds and 4 git commands to generate.