]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_bool.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / strings / print_bool.hpp
1 #ifndef STLPLUS_PRINT_BOOL
2 #define STLPLUS_PRINT_BOOL
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 // Conversion of string to/from bool
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include "format_types.hpp"
15 #include <string>
16 #include <iostream>
17 #include <stdexcept>
18
19 namespace stlplus
20 {
21
22 ////////////////////////////////////////////////////////////////////////////////
23
24 void print_bool(std::ostream& device, bool i,
25 unsigned radix = 10,
26 radix_display_t display = radix_c_style_or_hash,
27 unsigned width = 0)
28 throw(std::invalid_argument);
29
30 ////////////////////////////////////////////////////////////////////////////////
31
32 } // end namespace stlplus
33
34 #endif
This page took 0.028355 seconds and 4 git commands to generate.