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