I have a large class Foo that I want to turn into a module partition. This class is only used internally, so I don't need to export any symbol. A module implementation partition should do:
export module parent;
import :foo;
with
module parent:foo;
class Foo { ... }; urg! I need to add the full implementation here, no more hpp/cpp split
I could hack my way around the issue by having a module interface partition parent:foo that would contain my header file but wouldn't export anything. I am not a big fan of the idea though.
What is the recommended approach here? Should the "old-fashioned" hpp/cpp split die with modules, when nothing is to be exported?