Template Struct Point

Struct Documentation

template<typename T>
struct Point

Public Types

using ValueType = T

Public Functions

constexpr constexpr Point ()=default
constexpr constexpr Point (Point const &)=default
Point &operator=(Point const&) = default
template<typename U> inline explicit constexpr constexpr Point (Point< U > const &other) noexcept
template<typename XType, typename YType> inline constexpr 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