- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# fm::pair< _Kty, _Ty > Class Template Reference
[Mathematics Classes.]

A simple pair template. More...

`#include <FMTree.h>`

List of all members.

## Public Member Functions
| pair ()
| Constructor.
| pair (const _Kty &f, const _Ty &s)
| Constructor.
| pair (const pair &p)
| Copy constructor.
bool | operator== (const pair &p) const
| Returns whether the two pairs are equal.
bool | operator!= (const pair &p) const
| Returns whether the two pairs are not equal.
## Public Attributes
_Kty | first
| The first element of the pair.
_Ty | second
| The second element of the pair.

## Detailed Description

### template<class _Kty, class _Ty>
class fm::pair< _Kty, _Ty >

A simple pair template.

## Constructor & Destructor Documentation

template<class _Kty, class _Ty>
fm::pair< _Kty, _Ty >::pair | ( | const _Kty & | f,
|  | const _Ty & | s
| ) | `[inline]`

  | Constructor. Parameters:
  | f | A first element to copy.
  | s | A second element to copy.

template<class _Kty, class _Ty>
fm::pair< _Kty, _Ty >::pair | ( | const pair< _Kty, _Ty > & | p | ) | `[inline]`

  | Copy constructor. Parameters:
  | p | A pair to clone.

## Member Function Documentation

template<class _Kty, class _Ty>
bool fm::pair< _Kty, _Ty >::operator!= | ( | const pair< _Kty, _Ty > & | p | ) | const`[inline]`

  | Returns whether the two pairs are not equal. Parameters:
  | p | A second pair of the same type.
Returns: Whether the two pairs are not equal.

template<class _Kty, class _Ty>
bool fm::pair< _Kty, _Ty >::operator== | ( | const pair< _Kty, _Ty > & | p | ) | const`[inline]`

  | Returns whether the two pairs are equal. Parameters:
  | p | A second pair of the same type.
Returns: Whether the two pairs are equal.

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

- FMath/FMTree.h