Index: icu4c/source/io/ustream.cpp |
=================================================================== |
--- icu4c/source/io/ustream.cpp (revision 41377) |
+++ icu4c/source/io/ustream.cpp (working copy) |
@@ -18,6 +18,7 @@ |
#if !UCONFIG_NO_CONVERSION |
+#include "unicode/numberformatter.h" |
#include "unicode/uobject.h" |
#include "unicode/ustream.h" |
#include "unicode/ucnv.h" |
@@ -165,6 +166,13 @@ |
return stream; |
} |
+#if !UCONFIG_NO_FORMATTING |
+std::ostream& operator<<(std::ostream& os, const number::FormattedNumber& fn) { |
+ os << fn.toString(); |
+ return os; |
+} |
+#endif |
+ |
U_NAMESPACE_END |
#endif |