Skip to content
Back to top
Template Struct Point
Struct Documentation
-
template<typename T>
struct Point
Public Types
-
using ValueType = T
Public Functions
-
constexpr Point() = default
-
constexpr Point(Point const&) = default
-
Point &operator=(Point const&) = default
-
template<typename U>
inline explicit constexpr Point(Point<U> const &other) noexcept
-
template<typename XType, typename YType>
inline constexpr Point(XType &&x, YType &&y)
Public Members
-
X<T> x
-
Y<T> y
Friends
-
friend bool operator==(Point const &lhs, Point const &rhs) = default
-
friend bool operator!=(Point const &lhs, Point const &rhs) = default