CellModules
MecaCell::ordered_pair< T > Struct Template Reference

#include <ordered_pair.hpp>

Public Member Functions

bool operator== (const ordered_pair &other) const
 
template<unsigned int i>
T & get ()
 

Public Attributes

first
 
second
 

Friends

std::ostream & operator<< (std::ostream &out, const ordered_pair &v)
 

Detailed Description

template<typename T>
struct MecaCell::ordered_pair< T >

Definition at line 7 of file ordered_pair.hpp.

Member Function Documentation

◆ get()

template<typename T >
template<unsigned int i>
T & MecaCell::ordered_pair< T >::get ( )
inline

Definition at line 12 of file ordered_pair.hpp.

◆ operator==()

template<typename T >
bool MecaCell::ordered_pair< T >::operator== ( const ordered_pair< T > &  other) const
inline

Definition at line 9 of file ordered_pair.hpp.

Friends And Related Function Documentation

◆ operator<<

template<typename T >
std::ostream & operator<< ( std::ostream &  out,
const ordered_pair< T > &  v 
)
friend

Definition at line 13 of file ordered_pair.hpp.

Member Data Documentation

◆ first

template<typename T >
T MecaCell::ordered_pair< T >::first

Definition at line 8 of file ordered_pair.hpp.

◆ second

template<typename T >
T MecaCell::ordered_pair< T >::second

Definition at line 8 of file ordered_pair.hpp.


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