Files
Lab9_UNIX/core/Size.h
T
2026-06-05 11:45:04 +03:00

24 lines
350 B
C++

#pragma once
class Size
{
using PointType = long long;
public:
Size(
PointType width = 0,
PointType height = 0
);
PointType width() const;
PointType height() const;
PointType& width();
PointType& height();
PointType area() const;
private:
PointType m_Width;
PointType m_Height;
};