class Geo GeoPair

This is the documentation for Enlighten.

class Geo GeoPair

template<typename, typename>
class Geo::GeoPair

 

A generic pair class. Inherits things like CopyConstructible or Assignable from its argument types.

Functions

Name

Description

Name

Description

GeoPair()

Constructors.

GeoPair(const T1 &, const T2 &)

Constructors.

GeoPair(T1 &&, const T2 &)

Constructors.

GeoPair(const T1 &, T2 &&)

Constructors.

GeoPair(T1 &&, T2 &&)

Constructors.

GeoPair(const GeoPair &)

Constructors.

GeoPair(GeoPair &&)

Constructors.

operator!=(const GeoPair &)

Equality operators.

operator<(const GeoPair &)

Comparison operator, required to use this class as a key in an STL-style container.

operator=(const GeoPair &)

Assignment.

operator=(GeoPair &&)

Move assignment.

operator==(const GeoPair &)

Equality operators.

Variables

Name

Description

Name

Description

T1 first

First value.

T2 second

Second value.



Geo::GeoPair< T1, T2 >::GeoPair


public: GeoPair()


Constructors.



Geo::GeoPair< T1, T2 >::GeoPair


public: GeoPair
(
    const T1 & t1,
    const T2 & t2
)


Constructors.



GEO_FORCE_INLINE Geo::GeoPair< T1, T2 >::GeoPair


public: GEO_FORCE_INLINE GeoPair
(
    T1 && t1,
    const T2 & t2
)