Eigen::Pair< U, V > Struct Template Reference

Public Types

typedef U first_type
 
typedef V second_type
 

Public Member Functions

EIGEN_CONSTEXPR Pair ()
 
EIGEN_CONSTEXPR Pair (const U &f, const V &s)
 
void swap (Pair &rhs)
 

Public Attributes

EIGEN_MAKE_ALIGNED_OPERATOR_NEWfirst
 
V second
 

Detailed Description

template<typename U, typename V>
struct Eigen::Pair< U, V >

Definition at line 214 of file TensorMeta.h.

Member Typedef Documentation

◆ first_type

template<typename U , typename V >
typedef U Eigen::Pair< U, V >::first_type

Definition at line 221 of file TensorMeta.h.

◆ second_type

template<typename U , typename V >
typedef V Eigen::Pair< U, V >::second_type

Definition at line 222 of file TensorMeta.h.

Constructor & Destructor Documentation

◆ Pair() [1/2]

template<typename U , typename V >
EIGEN_CONSTEXPR Eigen::Pair< U, V >::Pair ( )
inline

Definition at line 225 of file TensorMeta.h.

225 : first(), second() {}
EIGEN_MAKE_ALIGNED_OPERATOR_NEW U first
Definition: TensorMeta.h:218

◆ Pair() [2/2]

template<typename U , typename V >
EIGEN_CONSTEXPR Eigen::Pair< U, V >::Pair ( const U &  f,
const V s 
)
inline

Definition at line 228 of file TensorMeta.h.

228 : first(f), second(s) {}

Member Function Documentation

◆ swap()

template<typename U , typename V >
void Eigen::Pair< U, V >::swap ( Pair< U, V > &  rhs)
inline

Definition at line 231 of file TensorMeta.h.

231  {
232  using numext::swap;
233  swap(first, rhs.first);
234  swap(second, rhs.second);
235  }
void swap(T &a, T &b)
void swap(Pair &rhs)
Definition: TensorMeta.h:231

Member Data Documentation

◆ first

template<typename U , typename V >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW U Eigen::Pair< U, V >::first

Definition at line 218 of file TensorMeta.h.

◆ second

template<typename U , typename V >
V Eigen::Pair< U, V >::second

Definition at line 219 of file TensorMeta.h.


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