aboutsummaryrefslogtreecommitdiff
path: root/std-core.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-core.mxx
Initial implementation
Diffstat (limited to 'std-core.mxx')
-rw-r--r--std-core.mxx41
1 files changed, 41 insertions, 0 deletions
diff --git a/std-core.mxx b/std-core.mxx
new file mode 100644
index 0000000..6ee4a9e
--- /dev/null
+++ b/std-core.mxx
@@ -0,0 +1,41 @@
+// file : std-core.mxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+export module std.core;
+
+export
+{
+#include <cstddef>
+#include <cstdint>
+#include <cstdlib>
+
+#include <utility>
+
+#include <exception>
+#include <stdexcept>
+}
+
+export
+{
+#include <iterator>
+#include <algorithm>
+
+#include <string>
+#include <cstring> // @@ Not in the proposal.
+
+#include <vector>
+}
+
+#if defined(_MSC_VER) || defined(__clang__)
+export
+{
+#include <cctype>
+#include <iosfwd>
+#include <istream>
+#include <ostream>
+#include <iostream>
+#include <sstream>
+#include <fstream>
+}
+#endif