From what I understand module interfaces and their implementation can be separated into two different files. Similar as with header.h and source.cpp files.
What is the agreed on name of these files and what file suffix? Do we stick with ".h" for the interface?
So for a very simple case: Would it look, similar to the header-declaration, source-implementation, like so?
// Module Interface: file name: mymodule.h ?
export module my.module;
export void Foo();
// Module implementation: file name mymodule.cpp ?
module my.module;
void Foo() {
// complex code
}
How does it behave if we write templated code? Is it still "header" (i. e. module interface) only, or can we now move it to the implementation file?