|
Terminal++ 4.0.1.23
A C++ library for interacting with ANSI terminal windows
|
A class that represents a direction with distance in space (a vector). More...
#include <extent.hpp>
Public Member Functions | |
| constexpr | extent () noexcept |
| Default Constructor. | |
| constexpr | extent (coordinate_type w, coordinate_type h) noexcept |
| Constructor. | |
| constexpr extent & | operator+= (extent const &rhs) noexcept |
| Addition. | |
| constexpr extent & | operator-= (extent const &rhs) noexcept |
| Subtraction. | |
Public Attributes | |
| coordinate_type | width_ |
| coordinate_type | height_ |
Friends | |
| constexpr friend auto | operator+ (extent lhs, extent const &rhs) noexcept |
| Addition. | |
| constexpr friend auto | operator- (extent lhs, extent const &rhs) noexcept |
| Subtraction. | |
| constexpr friend auto | operator<=> (extent const &lhs, extent const &rhs) noexcept=default |
| Relational operators for extents. | |
A class that represents a direction with distance in space (a vector).
|
inlineconstexprnoexcept |
Default Constructor.
|
inlineconstexprnoexcept |
Constructor.