MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / contains

Method contains

extern/boost/boost/function/function_base.hpp:659–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657
658 template<typename F>
659 bool contains(const F& f) const
660 {
661 if (const F* fp = this->template target<F>())
662 {
663 return function_equal(*fp, f);
664 } else {
665 return false;
666 }
667 }
668
669#if defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ <= 3
670 // GCC 3.3 and newer cannot copy with the global operator==, due to

Callers

nothing calls this directly

Calls 1

function_equalFunction · 0.50

Tested by

no test coverage detected