This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

template<typename, typename>
class Geo::GeoPair

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

Functions

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
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
)


Constructors.


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


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


Constructors.


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


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


Constructors.


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


public: GEO_FORCE_INLINE GeoPair
(
    const GeoPair & rhs
)


Constructors.


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


public: GEO_FORCE_INLINE GeoPair
(
    GeoPair && rhs
)


Constructors.


bool Geo::GeoPair< T1, T2 >::operator!=


public: bool operator!=
(
    const GeoPair & rhs
) const


Equality operators.


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


public: bool operator<
(
    const GeoPair & rhs
) const


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


GeoPair& Geo::GeoPair< T1, T2 >::operator=


public: GeoPair & operator=
(
    const GeoPair & rhs
)


Assignment.


GeoPair& Geo::GeoPair< T1, T2 >::operator=


public: GeoPair & operator=
(
    GeoPair && rhs
)


Move assignment.


bool Geo::GeoPair< T1, T2 >::operator==


public: bool operator==
(
    const GeoPair & rhs
) const


Equality operators.

  • No labels