MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / operator()

Method operator()

unittests/catch.hpp:3858–3861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3856 BySectionInfo( SectionInfo const& other ) : m_other( other ) {}
3857 BySectionInfo( BySectionInfo const& other ) : m_other( other.m_other ) {}
3858 bool operator() (std::shared_ptr<SectionNode> const& node) const {
3859 return ((node->stats.sectionInfo.name == m_other.name) &&
3860 (node->stats.sectionInfo.lineInfo == m_other.lineInfo));
3861 }
3862 void operator=(BySectionInfo const&) = delete;
3863
3864 private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected