]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_address.cpp
74e416fdcc3ade89f7858178492dfc6d0aa7a2c1
[chaz/yoink] / src / stlplus / strings / print_address.cpp
1 ////////////////////////////////////////////////////////////////////////////////
2
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
7
8 // use the unsigned long representation for pointers
9
10 ////////////////////////////////////////////////////////////////////////////////
11 #include "print_address.hpp"
12 #include "print_int.hpp"
13 ////////////////////////////////////////////////////////////////////////////////
14
15 namespace stlplus
16 {
17
18 ////////////////////////////////////////////////////////////////////////////////
19
20 void print_address(std::ostream& device, const void* i, unsigned radix, radix_display_t display, unsigned width)
21 throw(std::invalid_argument)
22 {
23 print_unsigned_long(device, (unsigned long)i, radix, display, width);
24 }
25
26 ////////////////////////////////////////////////////////////////////////////////
27
28 } // end namespace stlplus
This page took 0.036449 seconds and 4 git commands to generate.