line_with_offset

Defined in header: <orcus/stream.hpp>

struct line_with_offset

Public Functions

line_with_offset(std::string _line, std::size_t _line_number, std::size_t _offset_on_line)
line_with_offset(const line_with_offset &other)
line_with_offset(line_with_offset &&other)
~line_with_offset()
bool operator==(const line_with_offset &other) const
bool operator!=(const line_with_offset &other) const

Public Members

std::string line

content of the entire line.

std::size_t line_number

0-based line number.

std::size_t offset_on_line

0-based offset within the line.