]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_inf.cpp
build system enhancements
[chaz/yoink] / src / stlplus / strings / print_inf.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 // String conversion functions for the infinite precision integer type inf
9
10 ////////////////////////////////////////////////////////////////////////////////
11
12 // can be excluded from the build to break the dependency on the portability library
13 #ifndef NO_STLPLUS_INF
14
15 #include "print_inf.hpp"
16 #include "string_inf.hpp"
17
18 ////////////////////////////////////////////////////////////////////////////////
19
20 namespace stlplus
21 {
22
23 void print_inf(std::ostream& device,
24 const stlplus::inf& data,
25 unsigned radix,
26 radix_display_t display,
27 unsigned width)
28 throw(std::invalid_argument)
29 {
30 device << inf_to_string(data, radix, display, width);
31 }
32
33
34 ////////////////////////////////////////////////////////////////////////////////
35
36 } // end namespace stlplus
37
38 #endif
This page took 0.032632 seconds and 4 git commands to generate.