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

Class SourceLineInfo

unittests/catch.hpp:272–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270 };
271
272 struct SourceLineInfo {
273
274 SourceLineInfo() = delete;
275 SourceLineInfo( char const* _file, std::size_t _line ) noexcept
276 : file( _file ),
277 line( _line )
278 {}
279
280 SourceLineInfo( SourceLineInfo const& other ) = default;
281 SourceLineInfo( SourceLineInfo && ) = default;
282 SourceLineInfo& operator = ( SourceLineInfo const& ) = default;
283 SourceLineInfo& operator = ( SourceLineInfo && ) = default;
284
285 bool empty() const noexcept;
286 bool operator == ( SourceLineInfo const& other ) const noexcept;
287 bool operator < ( SourceLineInfo const& other ) const noexcept;
288
289 char const* file;
290 std::size_t line;
291 };
292
293 std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info );
294

Callers 2

registerTestMethodsFunction · 0.85
RunContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected