version 1.28, 2005/11/09 21:53:03
|
version 1.29, 2005/11/09 22:34:09
|
|
|
# include <iostream> | # include <iostream> |
namespace std | namespace std |
{ | { |
inline ostream& operator<<(ostream& os, unsigned __int64 x) |
inline ostream& operator<<(ostream& os, const unsigned __int64& x) |
{ | { |
char buffer[64]; | char buffer[64]; |
sprintf(buffer, "%" PEGASUS_64BIT_CONVERSION_WIDTH "u", x); | sprintf(buffer, "%" PEGASUS_64BIT_CONVERSION_WIDTH "u", x); |
return os << buffer; | return os << buffer; |
} | } |
| |
inline ostream& operator<<(ostream& os, __int64 x) |
inline ostream& operator<<(ostream& os, const __int64& x) |
{ | { |
char buffer[64]; | char buffer[64]; |
sprintf(buffer, "%" PEGASUS_64BIT_CONVERSION_WIDTH "d", x); | sprintf(buffer, "%" PEGASUS_64BIT_CONVERSION_WIDTH "d", x); |