Mir
Public Types | Public Member Functions | Public Attributes | List of all members
mir::geometry::generic::Point< T > Struct Template Reference

#include <point.h>

Public Types

using ValueType = T
 

Public Member Functions

constexpr Point ()=default
 
constexpr Point (Point const &)=default
 
Pointoperator= (Point const &)=default
 
template<typename U >
constexpr Point (Point< U > const &other) noexcept
 
template<typename XType , typename YType >
constexpr Point (XType &&x, YType &&y)
 

Public Attributes

X< T > x
 
Y< T > y
 

Member Typedef Documentation

◆ ValueType

template<typename T >
using mir::geometry::generic::Point< T >::ValueType = T

Constructor & Destructor Documentation

◆ Point() [1/4]

template<typename T >
constexpr mir::geometry::generic::Point< T >::Point ( )
constexprdefault

◆ Point() [2/4]

template<typename T >
constexpr mir::geometry::generic::Point< T >::Point ( Point< T > const &  )
constexprdefault

◆ Point() [3/4]

template<typename T >
template<typename U >
constexpr mir::geometry::generic::Point< T >::Point ( Point< U > const &  other)
inlineexplicitconstexprnoexcept

◆ Point() [4/4]

template<typename T >
template<typename XType , typename YType >
constexpr mir::geometry::generic::Point< T >::Point ( XType &&  x,
YType &&  y 
)
inlineconstexpr

Member Function Documentation

◆ operator=()

template<typename T >
Point & mir::geometry::generic::Point< T >::operator= ( Point< T > const &  )
default

Member Data Documentation

◆ x

template<typename T >
X<T> mir::geometry::generic::Point< T >::x

◆ y

template<typename T >
Y<T> mir::geometry::generic::Point< T >::y

The documentation for this struct was generated from the following files:

Copyright © 2012-2023 Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.