Data Structures & Algorithms in C++
Goodrich, Tamassia, Mount and Goldwasser
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
dsac::design::pair< A, B > Class Template Reference

#include <pair.h>

Collaboration diagram for dsac::design::pair< A, B >:
Collaboration graph

Public Member Functions

 pair ()
 
 pair (const A &a, const B &b)
 
bool operator== (const pair &other) const
 
bool operator!= (const pair &other) const
 
bool operator< (const pair &other) const
 

Data Fields

first
 
second
 

Constructor & Destructor Documentation

◆ pair() [1/2]

template<typename A , typename B >
dsac::design::pair< A, B >::pair ( )
inline

◆ pair() [2/2]

template<typename A , typename B >
dsac::design::pair< A, B >::pair ( const A &  a,
const B &  b 
)
inline

Member Function Documentation

◆ operator!=()

template<typename A , typename B >
bool dsac::design::pair< A, B >::operator!= ( const pair< A, B > &  other) const
inline
Here is the call graph for this function:

◆ operator<()

template<typename A , typename B >
bool dsac::design::pair< A, B >::operator< ( const pair< A, B > &  other) const
inline

◆ operator==()

template<typename A , typename B >
bool dsac::design::pair< A, B >::operator== ( const pair< A, B > &  other) const
inline

Field Documentation

◆ first

template<typename A , typename B >
A dsac::design::pair< A, B >::first

◆ second

template<typename A , typename B >
B dsac::design::pair< A, B >::second

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