X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_bool.cpp;h=0d63debea874fb7c84d678359d0e695ac7db29c2;hp=adcebc1bd5db275afdf47c1c393768a8931c25b9;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c diff --git a/src/stlplus/strings/print_bool.cpp b/src/stlplus/strings/print_bool.cpp index adcebc1..0d63deb 100644 --- a/src/stlplus/strings/print_bool.cpp +++ b/src/stlplus/strings/print_bool.cpp @@ -1,27 +1,27 @@ -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -// use the unsigned short representation for bool - -//////////////////////////////////////////////////////////////////////////////// -#include "print_bool.hpp" -#include "print_int.hpp" - -namespace stlplus -{ - - //////////////////////////////////////////////////////////////////////////////// - - void print_bool(std::ostream& device, bool i, unsigned radix, radix_display_t display, unsigned width) - throw(std::invalid_argument) - { - print_unsigned_short(device, (unsigned short)i, radix, display, width); - } - - //////////////////////////////////////////////////////////////////////////////// - -} // end namespace stlplus +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +// use the unsigned short representation for bool + +//////////////////////////////////////////////////////////////////////////////// +#include "print_bool.hpp" +#include "print_int.hpp" + +namespace stlplus +{ + + //////////////////////////////////////////////////////////////////////////////// + + void print_bool(std::ostream& device, bool i, unsigned radix, radix_display_t display, unsigned width) + throw(std::invalid_argument) + { + print_unsigned_short(device, (unsigned short)i, radix, display, width); + } + + //////////////////////////////////////////////////////////////////////////////// + +} // end namespace stlplus