aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx/iostream
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-09-24 19:06:33 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-09-24 19:06:33 -0700
commit1ea039eea38dad37c5b0c836cf98829bad6013ce (patch)
tree6d851de99c00b4aa1c45624df570b5cb7f89fed5 /system/include/libcxx/iostream
parentdd0230c9cf09a7b19712a4acefe0ae27ea40ea85 (diff)
include libcxx
Diffstat (limited to 'system/include/libcxx/iostream')
-rw-r--r--system/include/libcxx/iostream58
1 files changed, 58 insertions, 0 deletions
diff --git a/system/include/libcxx/iostream b/system/include/libcxx/iostream
new file mode 100644
index 00000000..e828b54f
--- /dev/null
+++ b/system/include/libcxx/iostream
@@ -0,0 +1,58 @@
+// -*- C++ -*-
+//===--------------------------- iostream ---------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP_IOSTREAM
+#define _LIBCPP_IOSTREAM
+
+/*
+ iostream synopsis
+
+#include <ios>
+#include <streambuf>
+#include <istream>
+#include <ostream>
+
+namespace std {
+
+extern istream cin;
+extern ostream cout;
+extern ostream cerr;
+extern ostream clog;
+extern wistream wcin;
+extern wostream wcout;
+extern wostream wcerr;
+extern wostream wclog;
+
+} // std
+
+*/
+
+#include <__config>
+#include <ios>
+#include <streambuf>
+#include <istream>
+#include <ostream>
+
+#pragma GCC system_header
+
+_LIBCPP_BEGIN_NAMESPACE_STD
+
+extern _LIBCPP_VISIBLE istream cin;
+extern _LIBCPP_VISIBLE ostream cout;
+extern _LIBCPP_VISIBLE ostream cerr;
+extern _LIBCPP_VISIBLE ostream clog;
+extern _LIBCPP_VISIBLE wistream wcin;
+extern _LIBCPP_VISIBLE wostream wcout;
+extern _LIBCPP_VISIBLE wostream wcerr;
+extern _LIBCPP_VISIBLE wostream wclog;
+
+_LIBCPP_END_NAMESPACE_STD
+
+#endif // _LIBCPP_IOSTREAM