22 explicit Rows(
const std::uint16_t& rows) :
m_rows(rows) {}
23 operator std::size_t() const noexcept {
return m_rows; }
34 operator std::size_t() const noexcept {
return m_columns; }
46 std::size_t
area() const noexcept {
return static_cast<std::size_t
>(
m_rows) *
static_cast<std::size_t
>(
m_columns); }
Columns(const std::uint16_t &columns)
Rows(const std::uint16_t &rows)
std::size_t area() const noexcept
Size(const Rows &rows, const Columns &columns)
Size(const Columns &columns, const Rows &rows)
const Rows & rows() const noexcept
const Columns & columns() const noexcept