]>
Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_bool.cpp
1 ////////////////////////////////////////////////////////////////////////////////
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
8 // use the unsigned short representation for bool
10 ////////////////////////////////////////////////////////////////////////////////
11 #include "print_bool.hpp"
12 #include "print_int.hpp"
17 ////////////////////////////////////////////////////////////////////////////////
19 void print_bool(std::ostream
& device
, bool i
, unsigned radix
, radix_display_t display
, unsigned width
)
20 throw(std::invalid_argument
)
22 print_unsigned_short(device
, (unsigned short)i
, radix
, display
, width
);
25 ////////////////////////////////////////////////////////////////////////////////
27 } // end namespace stlplus
This page took 0.035891 seconds and 4 git commands to generate.