MCPcopy Create free account
hub / github.com/BowenFu/matchit.cpp / EvalTraits

Class EvalTraits

include/matchit.h:116–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 // for constant
115 template <typename T>
116 class EvalTraits
117 {
118 public:
119 template <typename... Args>
120 constexpr static decltype(auto) evalImpl(T const &v, Args const &...)
121 {
122 return v;
123 }
124 };
125
126 template <typename T>
127 class EvalTraits<Nullary<T>>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected