MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / SourceLineInfo

Class SourceLineInfo

Bcore/src/main/cpp/Dobby/tests/catch.hpp:286–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284};
285
286struct SourceLineInfo {
287
288 SourceLineInfo() = delete;
289 SourceLineInfo(char const *_file, std::size_t _line) noexcept : file(_file), line(_line) {
290 }
291
292 SourceLineInfo(SourceLineInfo const &other) = default;
293 SourceLineInfo(SourceLineInfo &&) = default;
294 SourceLineInfo &operator=(SourceLineInfo const &) = default;
295 SourceLineInfo &operator=(SourceLineInfo &&) = default;
296
297 bool empty() const noexcept;
298 bool operator==(SourceLineInfo const &other) const noexcept;
299 bool operator<(SourceLineInfo const &other) const noexcept;
300
301 char const *file;
302 std::size_t line;
303};
304
305std::ostream &operator<<(std::ostream &os, SourceLineInfo const &info);
306

Callers 2

registerTestMethodsFunction · 0.85
RunContextMethod · 0.85

Calls

no outgoing calls

Tested by 2

registerTestMethodsFunction · 0.68
RunContextMethod · 0.68