| 284 | }; |
| 285 | |
| 286 | struct 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 | |
| 305 | std::ostream &operator<<(std::ostream &os, SourceLineInfo const &info); |
| 306 |
no outgoing calls