test(cpp): add standalone templates fixture
What does this MR do and why?
This MR adds a standalone integration test fixture (crates/integration-tests-codegraph/fixtures/cpp/templates.yaml) for C++ templates. This new fixture provides a clean, focused entry point covering single/multi-parameter class templates, free template functions, and template methods inside non-template classes.
Related Issues
Closes #681 (closed)
Testing
Verified by running mise exec -- cargo nextest run -p integration-tests-codegraph --test suites cpp_templates. The target structures (Stack, HashMap, max) were all successfully mapped into the graph as Definition nodes with their expected definition_types (Class, Function).
Performance Analysis
This merge request does not introduce any performance regression. It only adds a new test fixture for existing functionality; no production compilation or runtime behavior is modified.
- This merge request does not introduce any performance regression. If a performance regression is expected, explain why.
Agent context — long-form analysis, file-by-file walkthroughs, profiler output, alternatives considered
crates/integration-tests-codegraph/fixtures/cpp/templates.yaml: Added mapping assertions for C++ templates (e.g.,template<typename T> class Stack,template<typename T> T max()). Verified that the structural extraction cleanly matches toClassandFunctiontypes natively.crates/integration-tests-codegraph/tests/suites.rs: Registeredcpp_templatesas an active integration test suite block.