Template Struct Size#

Struct Documentation#

template<typename T>
struct Size#

The Size structure is used to represent a two-dimensional size with width and height.

Public Functions

bool operator==(const Size &other) const = default#

Compares with other and returns true if they are equal; false otherwise.

Public Members

T width#

The width of the size.

T height#

The height of the size.