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:
parent
9e3cd767aa
commit
2d441a63ee
2 changed files with 8 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue