MCPcopy Create free account
hub / github.com/Gecode/gecode / check

Method check

gecode/set/limits.hpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace Gecode { namespace Set {
35
36 inline void
37 Limits::check(int n, const char* l) {
38 if ((n < min) || (n > max))
39 throw OutOfLimits(l);
40 }
41
42 inline void
43 Limits::check(unsigned int n, const char* l) {

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected