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

Method get

tests/StructuredBindingsHandler5Test.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37 template<size_t N>
38 constexpr decltype(auto) get() noexcept
39 {
40 if constexpr(N == 1) {
41 return GetX();
42 } else if constexpr(N == 0) {
43 return (mY);
44 }
45 }
46
47 template<size_t N>
48 constexpr decltype(auto) get() const noexcept

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected