MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / has_guard

Method has_guard

include/chaiscript/dispatchkit/bootstrap.hpp:274–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273
274 static bool has_guard(const Const_Proxy_Function &t_pf)
275 {
276 auto pf = std::dynamic_pointer_cast<const dispatch::Dynamic_Proxy_Function>(t_pf);
277 return pf && pf->get_guard();
278 }
279
280 static Const_Proxy_Function get_guard(const Const_Proxy_Function &t_pf)
281 {

Callers

nothing calls this directly

Calls 1

get_guardMethod · 0.45

Tested by

no test coverage detected