I like the answer of Muhammad. Unfortunately ... he deleted it, but basically - used a tool like nm - I don’t know the Windows equivalent, but one thing is certain - to request objects for moments. Although your templates may be in .hxx, you can only meaningfully talk about a subset of the methods created using some client code. You may need to do this analysis with disabling inlining to ensure that function bodies are actually created in tangible form in object files.
, - , , , , . (, GCC g++ -ftest-coverage) (, purecov) .