MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / get

Function get

tests/StructuredBindingsHandler3Test.cpp:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace constant {
9 struct Q {};
10 template<int N> constexpr int get(Q &&) { return N * N; }
11}
12template<> struct std::tuple_size<constant::Q> { static const int value = 3; };
13template<size_t N> struct std::tuple_element<N, constant::Q> { typedef int type; };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected