aboutsummaryrefslogtreecommitdiff
path: root/std-io.mxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-19 17:50:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-19 17:50:36 +0200
commita0f96b95900108705261881b164d779e2db5b824 (patch)
tree108e595a366ed83f6ae690f9f8980f76d71bd029 /std-io.mxx
Initial implementation
Diffstat (limited to 'std-io.mxx')
-rw-r--r--std-io.mxx28
1 files changed, 28 insertions, 0 deletions
diff --git a/std-io.mxx b/std-io.mxx
new file mode 100644
index 0000000..5370817
--- /dev/null
+++ b/std-io.mxx
@@ -0,0 +1,28 @@
+// file : std-io.mxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+export module std.io;
+
+#ifdef _MSC_VER
+
+export import std.core;
+
+#elif defined(__clang__)
+// Empty: can't handle the below and doesn't suppor re-export.
+#else
+
+import std.core;
+
+export
+{
+#include <cctype>
+#include <iosfwd>
+#include <istream>
+#include <ostream>
+#include <iostream>
+#include <sstream>
+#include <fstream>
+}
+
+#endif