1 2 3 4 5 6 7 8 9
module; #include <iostream> export module foo; namespace foo { export void hello() { std::cout << "Hello world" << std::endl; } } // namespace foo