height_t struct
#include <nxt/units.hpp>
Strong type for vertical extents measured in terminal lines.
Public functions
-
auto count() const → std::
size_t constexpr noexcept - Return the raw line count.
-
auto operator+=(height_
t other) → height_ t& constexpr noexcept -
auto operator-=(height_
t other) → height_ t& constexpr noexcept
Public variables
-
std::
size_t v - Number of lines.
Friends
-
auto operator<=>(height_
t, height_ t) → auto defaulted constexpr noexcept -
auto operator==(height_
t, height_ t) → bool defaulted constexpr noexcept