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

Method get

tests/StructuredBindingsHandler6Test.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43public:
44 template<size_t N>
45 constexpr decltype(auto) get() const noexcept
46 {
47 if constexpr(N == 1) {
48 return GetX();
49 } else if constexpr(N == 0) {
50 return mY;
51 }
52 }
53};
54
55int main()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected