by SuperV1234 · 8mo ago · 0 comments
In many cases it's possible to only declare the template in the header, explicitly instantiate it with a bunch of types in a single TU, and just find those definitions via linker.
C++ is the opposite of simplicity and clarity in code.