https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990
--- Comment #18 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to cqwrteur from comment #17) > But does that apply to classes, templates or template specialization, etc.? Yes, everything that you would define in a header. > If someone writes a function=delete while in a module, it does not. Does it > get discarded? Deleted definitions are merged like any other definition. > C++ standard never clarifies it but asks all inline function not to > be inline semantics. That doesn't apply to the global module (https://eel.is/c++draft/class.mfct#1).