]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/string_pointer.hpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / string_pointer.hpp
1 #ifndef STLPLUS_STRING_POINTER
2 #define STLPLUS_STRING_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
16 namespace stlplus
17 {
18
19 template <typename T, typename S>
20 std::string pointer_to_string(const T* value,
21 S to_string_fn,
22 const std::string& null_string = "<null>",
23 const std::string& prefix = "(",
24 const std::string& suffix = ")");
25
26
27 }
28
29 #include "string_pointer.tpp"
30 #endif
This page took 0.033132 seconds and 4 git commands to generate.