Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ contains
Method
contains
gecode/set/view/singleton.hpp:106–108 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
104
}
105
106
forceinline bool
107
SingletonView::contains(int n) const { return x.assigned() ?
108
(x.val()==n) : false; }
109
110
forceinline bool
111
SingletonView::notContains(int n) const { return !x.in(n); }
Callers
nothing calls this directly
Calls
2
assigned
Method · 0.45
val
Method · 0.45
Tested by
no test coverage detected