MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / contains

Method contains

libcaf_net/caf/net/ip.test.cpp:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 bool contains(ip_address x) {
24 return std::count(addrs.begin(), addrs.end(), x) > 0;
25 }
26
27 ip_address v4_any_addr;
28 ip_address v6_any_addr;

Callers 3

local_addressesFunction · 0.45
has_endpointFunction · 0.45
has_hostFunction · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected