1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

Added an int64 operator<< to OutputStream.

This commit is contained in:
jules 2012-07-06 10:16:52 +01:00
parent 9e3cd767aa
commit 2d441a63ee
2 changed files with 8 additions and 0 deletions

View file

@ -270,6 +270,11 @@ OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const int number)
return stream << String (number);
}
OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const int64 number)
{
return stream << String (number);
}
OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const double number)
{
return stream << String (number);

View file

@ -230,6 +230,9 @@ private:
/** Writes a number to a stream as 8-bit characters in the default system encoding. */
OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, int number);
/** Writes a number to a stream as 8-bit characters in the default system encoding. */
OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, int64 number);
/** Writes a number to a stream as 8-bit characters in the default system encoding. */
OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, double number);