cstdint

Why don't we have <cstdfloat> in C++ ?

Why doesn't C++ have <cstdfloat> header for floats like it has <cstdint> for integers? EDIT : By <cstdfloat> I mean header that provides typedefs for float and double. Much like qreal typedef in Qt. Hope my question is clear now. ...

Boost's "cstdint" Usage

Boost's C99 stdint implementation is awfully handy. One thing bugs me, though. They dump all of their typedefs into the boost namespace. This leaves me with three choices when using this facility: Use "using namespace boost" Use "using boost::[u]<type><width>_t" Explicitly refer to the target type with the boost:: prefix; e.g., boost::...

How to output unsigned/signed char or <cstdint> types as integers with << in C++

Background: I have template stream operators (e.g. operator << (ostream &, std::vector <T>)) (that output container elements that may possibly be of some 8-bit integer type, (e.g. unsigned char, int_least8_t, et cetera). Problem: Default is that these types are output as char (ASCII). I only used char (or wchar_t or whatever) for ASCI...