1 2 3 4 5 6 7 8 9 10 11 12 13
// file: libmformat/format.mxx -*- C++ -*- export module format; import std.core; export namespace format { enum class volume {quiet, normal, loud}; __symexport std::string message (const std::string& greeting, const std::string& name, volume); }