MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / SourceLineInfo

Class SourceLineInfo

tests/catch.hpp:417–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415 };
416
417 struct SourceLineInfo {
418
419 SourceLineInfo() = delete;
420 SourceLineInfo( char const* _file, std::size_t _line ) noexcept
421 : file( _file ),
422 line( _line )
423 {}
424
425 SourceLineInfo( SourceLineInfo const& other ) = default;
426 SourceLineInfo& operator = ( SourceLineInfo const& ) = default;
427 SourceLineInfo( SourceLineInfo&& ) noexcept = default;
428 SourceLineInfo& operator = ( SourceLineInfo&& ) noexcept = default;
429
430 bool empty() const noexcept;
431 bool operator == ( SourceLineInfo const& other ) const noexcept;
432 bool operator < ( SourceLineInfo const& other ) const noexcept;
433
434 char const* file;
435 std::size_t line;
436 };
437
438 std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info );
439

Callers 2

registerTestMethodsFunction · 0.85
RunContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected