AGX Dynamics 2.41.3.0
Loading...
Searching...
No Matches
agx::SymmetricPair< T > Class Template Reference

A std::pair, with both elements of the same type, and symmetric so (a, b) == (b, a) More...

#include <SymmetricPair.h>

+ Inheritance diagram for agx::SymmetricPair< T >:

Public Member Functions

 SymmetricPair ()
 
 SymmetricPair (const T &a, const T &b)
 
bool contains (const T &a) const
 
UInt32 hash () const
 

Detailed Description

template<typename T>
class agx::SymmetricPair< T >

A std::pair, with both elements of the same type, and symmetric so (a, b) == (b, a)

Definition at line 31 of file SymmetricPair.h.

Constructor & Destructor Documentation

◆ SymmetricPair() [1/2]

template<typename T >
agx::SymmetricPair< T >::SymmetricPair ( )
inline

Definition at line 34 of file SymmetricPair.h.

◆ SymmetricPair() [2/2]

template<typename T >
agx::SymmetricPair< T >::SymmetricPair ( const T &  a,
const T &  b 
)
inline

Definition at line 35 of file SymmetricPair.h.

Member Function Documentation

◆ contains()

template<typename T >
bool agx::SymmetricPair< T >::contains ( const T &  a) const
inline

Definition at line 37 of file SymmetricPair.h.

◆ hash()

template<typename T >
UInt32 agx::SymmetricPair< T >::hash

Definition at line 59 of file SymmetricPair.h.

References agx::hash(), and std::swap().


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