module; #include export module foo; namespace foo { export void hello() { std::cout << "Hello world" << std::endl; } } // namespace foo