aboutsummaryrefslogtreecommitdiff
path: root/include/string
diff options
context:
space:
mode:
Diffstat (limited to 'include/string')
-rw-r--r--include/string5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/string b/include/string
index 7c2f474..0f6de29 100644
--- a/include/string
+++ b/include/string
@@ -36,6 +36,8 @@
namespace std {
+class ostream;
+
// Simple string implementation. Its purpose is to be able to compile code that
// uses the STL and requires std::string.
//
@@ -278,6 +280,9 @@ class string
size_type mLength; // len of the string excl. null-terminator.
};
+// I/O
+ostream& operator<<(ostream& os, const string& str);
+
} // namespace std
#endif // ANDROID_ASTL_STRING__