MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / SourceLineInfo

Class SourceLineInfo

extlibs/catch/include/catch/catch.hpp:458–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456 };
457
458 struct SourceLineInfo {
459
460 SourceLineInfo() = delete;
461 SourceLineInfo( char const* _file, std::size_t _line ) noexcept
462 : file( _file ),
463 line( _line )
464 {}
465
466 SourceLineInfo( SourceLineInfo const& other ) = default;
467 SourceLineInfo& operator = ( SourceLineInfo const& ) = default;
468 SourceLineInfo( SourceLineInfo&& ) noexcept = default;
469 SourceLineInfo& operator = ( SourceLineInfo&& ) noexcept = default;
470
471 bool empty() const noexcept;
472 bool operator == ( SourceLineInfo const& other ) const noexcept;
473 bool operator < ( SourceLineInfo const& other ) const noexcept;
474
475 char const* file;
476 std::size_t line;
477 };
478
479 std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info );
480

Callers 2

registerTestMethodsFunction · 0.85
RunContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected