Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/hana
/ implies
Function
implies
example/misc/restricted_function.cpp:81–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
80
template <typename P, typename Q>
81
constexpr auto implies(P p, Q q) {
82
return hana::or_(hana::not_(p), q);
83
}
84
85
template <typename F>
86
constexpr auto is_injective(F f) {
Callers
2
is_injective
Function · 0.85
operator()
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected