]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_bool.cpp
build system enhancements
[chaz/yoink] / src / stlplus / strings / print_bool.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 short representation for bool
9
10 ////////////////////////////////////////////////////////////////////////////////
11 #include "print_bool.hpp"
12 #include "print_int.hpp"
13
14 namespace stlplus
15 {
16
17 ////////////////////////////////////////////////////////////////////////////////
18
19 void print_bool(std::ostream& device, bool i, unsigned radix, radix_display_t display, unsigned width)
20 throw(std::invalid_argument)
21 {
22 print_unsigned_short(device, (unsigned short)i, radix, display, width);
23 }
24
25 ////////////////////////////////////////////////////////////////////////////////
26
27 } // end namespace stlplus
This page took 0.029795 seconds and 4 git commands to generate.