Hi all,
I have achieved a major milestone in adding C++ Modules support to GCC.
Namely the iostream header can be built and used as a header unit.
#including <iostream> includes an awful lot of the STL, so this has
pushed a large swathe of C++ through the module machinery.
Because 'hello world' now works, it's good for people to play with.
some assembly is required, not least because it is not on trunk.
Beware, this is lots of new code, it is full of FIXMEs and it will break
on your code. I'll be working on cleaning it up next.
Refer to https://gcc.gnu.org/wiki/cxx-modules for details.
Testcase g++.dg/modules/iostream-1_{a.H,b.C} is the iostream example, FWIW.
nathan
--
Nathan Sidwell