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

Method bindValue

include/matchit.h:1167–1172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165 public:
1166 template <typename Value>
1167 constexpr static auto bindValue(ValueVariant<Type> &v, Value &&value,
1168 std::false_type /* StorePointer */)
1169 {
1170 // for constexpr
1171 v = ValueVariant<Type>{std::forward<Value>(value)};
1172 }
1173 template <typename Value>
1174 constexpr static auto bindValue(ValueVariant<Type> &v, Value &&value,
1175 std::true_type /* StorePointer */)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected