MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / classes

Function classes

__tests__/cpp-template-instantiations.test.ts:1100–1100  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

1098
1099describe('the cap', () => {
1100 const classes = (n: number): string => Array.from({ length: n }, (_, i) => `struct C${i} { static void Go() {} };`).join('\n');
1101 const uses = (n: number): string => Array.from({ length: n }, (_, i) => `Box<C${i}> b${i};`).join('\n');
1102 const box = lines('template <typename T>', 'struct Box { void Run() { T::Go(); } };');
1103

Calls 2

fromMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected