summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-25 04:07:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-25 04:07:05 +0200
commit6103f4ea865ab52e44880edd022f2bfa9b4e6ede (patch)
tree3163878ba83a49a8efff56ba1e65a9aab430ebcb
parentd603632ea77ade8efa5b1f4b268a5eb311007860 (diff)
Add idea: C++ modules support
-rw-r--r--build2/cxx-modules18
1 files changed, 18 insertions, 0 deletions
diff --git a/build2/cxx-modules b/build2/cxx-modules
new file mode 100644
index 0000000..f147825
--- /dev/null
+++ b/build2/cxx-modules
@@ -0,0 +1,18 @@
+- C++ modules support [idea]
+
+Notes on C++ Modules
+====================
+
+* Clang implements non-intrusive model via module maps, libc++ has one.
+
+* VC implements TS, has some tutorials.
+
+* Seems like multi-file module export may be supported in the future. So the
+ output becomes kind of like a library rather than a precompiled header file.
+
+Questions
+=========
+
+* Is there/will there be support for modules in /showIncludes/-M*? We will
+ need it for all the same reasons as for headers. In a sense, module is an
+ always generated header.