Horizon
horizon-eda-1.3.0
3rd_party
nlohmann
detail
input
position_t.hpp
1
#pragma once
2
3
#include <cstddef>
// size_t
4
5
namespace
nlohmann
6
{
7
namespace
detail
8
{
10
struct
position_t
11
{
13
std::size_t
chars_read_total
= 0;
15
std::size_t
chars_read_current_line
= 0;
17
std::size_t
lines_read
= 0;
18
20
constexpr
operator
size_t()
const
21
{
22
return
chars_read_total
;
23
}
24
};
25
26
}
// namespace detail
27
}
// namespace nlohmann
nlohmann::detail::position_t::chars_read_current_line
std::size_t chars_read_current_line
the number of characters read in the current line
Definition:
position_t.hpp:15
nlohmann
namespace for Niels Lohmann
Definition:
adl_serializer.hpp:9
nlohmann::detail::position_t::lines_read
std::size_t lines_read
the number of lines read
Definition:
position_t.hpp:17
nlohmann::detail::position_t::chars_read_total
std::size_t chars_read_total
the total number of characters read
Definition:
position_t.hpp:13
Generated by
1.8.20