]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_inf.hpp
b3bfc277bc4ab9969de2b429c92846a52295b9ec
[chaz/yoink] / src / stlplus / strings / print_inf.hpp
1 #ifndef STLPLUS_PRINT_INF
2 #define STLPLUS_PRINT_INF
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 // String conversion functions for the infinite precision integer type inf
11
12 // The conversion supports all the formatting modes defined on format_types
13
14 ////////////////////////////////////////////////////////////////////////////////
15
16 #include "strings_fixes.hpp"
17 #include "inf.hpp"
18 #include "format_types.hpp"
19 #include <stdexcept>
20 #include <iostream>
21
22 ////////////////////////////////////////////////////////////////////////////////
23
24 namespace stlplus
25 {
26
27 ////////////////////////////////////////////////////////////////////////////////
28
29 void print_inf(std::ostream& device,
30 const inf&,
31 unsigned radix = 10,
32 radix_display_t display = radix_c_style_or_hash,
33 unsigned width = 0)
34 throw(std::invalid_argument);
35
36 ////////////////////////////////////////////////////////////////////////////////
37 } // end namespace stlplus
38
39
40 #endif
This page took 0.033255 seconds and 3 git commands to generate.