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

Method MessageInfo

unittests/catch.hpp:8139–8146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8137namespace Catch {
8138
8139 MessageInfo::MessageInfo( std::string const& _macroName,
8140 SourceLineInfo const& _lineInfo,
8141 ResultWas::OfType _type )
8142 : macroName( _macroName ),
8143 lineInfo( _lineInfo ),
8144 type( _type ),
8145 sequence( ++globalCount )
8146 {}
8147
8148 bool MessageInfo::operator==( MessageInfo const& other ) const {
8149 return sequence == other.sequence;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected