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

Function expr

develop/matchit/expression.h:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 class Id;
25 template <typename T>
26 constexpr auto expr(Id<T> &id)
27 {
28 return nullary([&]
29 { return *id; });
30 }
31
32 template <typename T>
33 constexpr auto expr(T const &v)

Callers

nothing calls this directly

Calls 1

nullaryFunction · 0.70

Tested by

no test coverage detected