sprint 1-alpha
|
Go to the source code of this file.
Namespaces | |
namespace | sprint |
Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux. | |
Defines | |
#define | IMPLEMENT_OUTSTREAM_OPERATOR_STRING(Type) |
#define | IMPLEMENT_OUTSTREAM_OPERATOR_CONST_CHAR(Type) inline Type & operator << ( Type & d, const char * str) { d.write(str, ::strlen(str) ); return d; } |
#define | IMPLEMENT_OUTSTREAM_OPERATOR_CHAR(Type) inline Type & operator << ( Type & d, char c) { d.write(&c, 1 ); return d; } |
#define | IMPLEMENT_OUTSTREAM_OPERATOR_GENERIC(Type) template<class R> Type & operator << (Type & d, const R & obj) { sprint::_out_stream(d,obj); return d; } |
#define | IMPLEMENT_OUTSTREAM_OPERATOR(Type) |
Functions | |
template<class _Ostream , class R > | |
void | sprint::_out_stream (_Ostream &d, const R &obj) |
add << T operator to a generic (io) template