aboutsummaryrefslogtreecommitdiff
path: root/include/ostream
diff options
context:
space:
mode:
Diffstat (limited to 'include/ostream')
-rw-r--r--include/ostream8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/ostream b/include/ostream
index ef31b34..2bfb722 100644
--- a/include/ostream
+++ b/include/ostream
@@ -41,7 +41,7 @@ namespace std {
* wchar. Since Android supports only char, we don't use a template
* here.
*/
-
+class streambuf;
class ostream: public ios_base
{
public:
@@ -54,8 +54,14 @@ class ostream: public ios_base
ostream();
public:
+ // TODO: implement.
+ ostream(streambuf *sb) {}
virtual ~ostream();
+ // Synchronize the stream buffer.
+ // TODO: implement.
+ ostream& flush() { return *this; }
+
/**
* Interface for manipulators (e.g std::endl, std::hex in
* expression like "std::cout << std::endl"). See iomanip header.