]>
Dogcows Code - chaz/yoink/blob - src/stlplus/strings/string_simple_ptr.hpp
b8d07d89485cf13317453fa6bbf7c97ab233d02c
1 #ifndef STLPLUS_STRING_SIMPLE_PTR
2 #define STLPLUS_STRING_SIMPLE_PTR
3 ////////////////////////////////////////////////////////////////////////////////
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
10 // Generate a string representation of a smart pointer
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include "simple_ptr.hpp"
17 ////////////////////////////////////////////////////////////////////////////////
22 template<typename T
, typename S
>
23 std::string
simple_ptr_to_string(const simple_ptr
<T
>& value
,
25 const std::string
& null_string
= "<null>",
26 const std::string
& prefix
= "(",
27 const std::string
& suffix
= ")");
29 template<typename T
, typename S
>
30 std::string
simple_ptr_clone_to_string(const simple_ptr_clone
<T
>& value
,
32 const std::string
& null_string
= "<null>",
33 const std::string
& prefix
= "(",
34 const std::string
& suffix
= ")");
36 template<typename T
, typename S
>
37 std::string
simple_ptr__nocopy_to_string(const simple_ptr_nocopy
<T
>& value
,
39 const std::string
& null_string
= "<null>",
40 const std::string
& prefix
= "(",
41 const std::string
& suffix
= ")");
44 } // end namespace stlplus
46 #include "string_simple_ptr.tpp"
This page took 0.040589 seconds and 4 git commands to generate.