Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::basic_point< T > Struct Template Reference

Public Types

using value_type = T
 

Public Member Functions

 basic_point ()=default
 
 basic_point (value_type x, value_type y)
 
bool operator== (const basic_point &other) const noexcept
 
bool operator!= (const basic_point &other) const noexcept
 
bool operator< (const basic_point &other) const noexcept
 
bool operator<= (const basic_point &other) const noexcept
 
bool operator> (const basic_point &other) const noexcept
 
bool operator>= (const basic_point &other) const noexcept
 
basic_point operator- (const basic_point &other) const noexcept
 
basic_point operator+ (const basic_point &other) const noexcept
 
basic_pointoperator-= (const basic_point &other) noexcept
 
basic_pointoperator+= (const basic_point &other) noexcept
 

Public Attributes

value_type x {}
 
value_type y {}
 

Member Typedef Documentation

template<typename T>
using nana::basic_point< T >::value_type = T

Constructor & Destructor Documentation

template<typename T>
nana::basic_point< T >::basic_point ( )
default
template<typename T>
nana::basic_point< T >::basic_point ( value_type  x,
value_type  y 
)
inline

Member Function Documentation

template<typename T>
bool nana::basic_point< T >::operator!= ( const basic_point< T > &  other) const
inlinenoexcept
template<typename T>
basic_point nana::basic_point< T >::operator+ ( const basic_point< T > &  other) const
inlinenoexcept
template<typename T>
basic_point& nana::basic_point< T >::operator+= ( const basic_point< T > &  other)
inlinenoexcept
template<typename T>
basic_point nana::basic_point< T >::operator- ( const basic_point< T > &  other) const
inlinenoexcept
template<typename T>
basic_point& nana::basic_point< T >::operator-= ( const basic_point< T > &  other)
inlinenoexcept
template<typename T>
bool nana::basic_point< T >::operator< ( const basic_point< T > &  other) const
inlinenoexcept
template<typename T>
bool nana::basic_point< T >::operator<= ( const basic_point< T > &  other) const
inlinenoexcept
template<typename T>
bool nana::basic_point< T >::operator== ( const basic_point< T > &  other) const
inlinenoexcept
template<typename T>
bool nana::basic_point< T >::operator> ( const basic_point< T > &  other) const
inlinenoexcept
template<typename T>
bool nana::basic_point< T >::operator>= ( const basic_point< T > &  other) const
inlinenoexcept

Member Data Documentation

template<typename T>
value_type nana::basic_point< T >::x {}
template<typename T>
value_type nana::basic_point< T >::y {}