neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::minmax< T1, T2 > Struct Template Reference

#include <utility.hpp>

Inheritance diagram for neolib::minmax< T1, T2 >:
neolib::pair< T1, T2 > neolib::i_pair< abstract_t< T1 >, abstract_t< T2 > >

Public Types

typedef pair< T1, T2base_type
 
- Public Types inherited from neolib::pair< T1, T2 >
typedef abstract_t< T1first_abstract_type
 
typedef abstract_t< T2second_abstract_type
 
typedef T1 first_type
 
typedef T2 second_type
 
- Public Types inherited from neolib::i_pair< abstract_t< T1 >, abstract_t< T2 > >
typedef self_type abstract_type
 
typedef abstract_t< T1 > first_type
 
typedef abstract_t< T2 > second_type
 

Public Member Functions

 minmax ()
 
 minmax (const T1 &x, const T2 &y)
 
template<typename U , typename V >
 minmax (const minmax< U, V > &m)
 
template<typename U , typename V >
minmax< T1, T2 > & operator= (const minmax< U, V > &m)
 
minmax operator- () const
 
- Public Member Functions inherited from neolib::pair< T1, T2 >
 pair ()
 
 pair (const abstract_type &aPair)
 
 pair (const concrete_type &aPair)
 
template<typename T3 , typename T4 >
 pair (T3 &&aFirst, T4 &&aSecond)
 
self_typeoperator= (const self_type &aOther)
 
abstract_typeoperator= (const abstract_type &aOther) final
 
const first_typefirst () const final
 
first_typefirst () final
 
const second_typesecond () const final
 
second_typesecond () final
 
self_typeassign (const abstract_type &aOther)
 
constexpr bool operator== (const self_type &that) const noexcept
 
constexpr std::partial_ordering operator<=> (const self_type &that) const noexcept
 
- Public Member Functions inherited from neolib::i_pair< abstract_t< T1 >, abstract_t< T2 > >
constexpr bool operator== (const self_type &that) const noexcept
 
constexpr std::partial_ordering operator<=> (const self_type &that) const noexcept
 

Detailed Description

template<typename T1, typename T2>
struct neolib::minmax< T1, T2 >

Definition at line 50 of file utility.hpp.

Member Typedef Documentation

◆ base_type

template<typename T1 , typename T2 >
typedef pair<T1, T2> neolib::minmax< T1, T2 >::base_type

Definition at line 52 of file utility.hpp.

Constructor & Destructor Documentation

◆ minmax() [1/3]

template<typename T1 , typename T2 >
neolib::minmax< T1, T2 >::minmax ( )
inline

Definition at line 53 of file utility.hpp.

◆ minmax() [2/3]

template<typename T1 , typename T2 >
neolib::minmax< T1, T2 >::minmax ( const T1 x,
const T2 y 
)
inline

Definition at line 54 of file utility.hpp.

◆ minmax() [3/3]

template<typename T1 , typename T2 >
template<typename U , typename V >
neolib::minmax< T1, T2 >::minmax ( const minmax< U, V > &  m)
inline

Definition at line 55 of file utility.hpp.

Member Function Documentation

◆ operator-()

template<typename T1 , typename T2 >
minmax neolib::minmax< T1, T2 >::operator- ( ) const
inline

Definition at line 57 of file utility.hpp.

◆ operator=()

template<typename T1 , typename T2 >
template<typename U , typename V >
minmax< T1, T2 > & neolib::minmax< T1, T2 >::operator= ( const minmax< U, V > &  m)
inline

Definition at line 56 of file utility.hpp.


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