diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-23 11:43:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-11-23 11:43:02 +0200 |
commit | 290ea7840c979e38a2108030a99e7e9c61f40a8c (patch) | |
tree | 041eb38e45d39e032d203fb1c48f8ff07609db3e /libstd-modules/std-io.mxx | |
parent | d657b1d00d41bf448a94f6a7c49cacd41c5fac0e (diff) |
Restructure and install std-detect.hxx
We have to install this header since it needs to be included'able during
module sidebuilds.
Diffstat (limited to 'libstd-modules/std-io.mxx')
-rw-r--r-- | libstd-modules/std-io.mxx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libstd-modules/std-io.mxx b/libstd-modules/std-io.mxx new file mode 100644 index 0000000..701e1b9 --- /dev/null +++ b/libstd-modules/std-io.mxx @@ -0,0 +1,28 @@ +// file : libstd-modules/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 |