Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

template<typename, typename>
class Geo::GeoPair

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

Functions

NameDescription
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

NameDescription
T1 first

First value.

T2 second

Second value.


Anchor
a4cd3e13f0bd721fe530a33da0bedaad0
a4cd3e13f0bd721fe530a33da0bedaad0

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

...

public: GeoPair()

...

Constructors.


Anchor
abe68cfa8d97d3b22d978f0d54d4152dc
abe68cfa8d97d3b22d978f0d54d4152dc

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

...

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

...

Constructors.


Anchor
a333128670c9f7b1021041e8dba2382a6
a333128670c9f7b1021041e8dba2382a6

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

...

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

...

Constructors.


Anchor
a775d34fcd50359ce4714120290d1c3c6
a775d34fcd50359ce4714120290d1c3c6

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

...

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

...

Constructors.


Anchor
a4b1edcf1348de7f02f687562ec2aaff5
a4b1edcf1348de7f02f687562ec2aaff5

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

...

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

...

Constructors.


Anchor
a2f0f7eba098a9150fade21e483445e42
a2f0f7eba098a9150fade21e483445e42

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

...

public: GEO_FORCE_INLINE GeoPair
(
    const GeoPair & rhs
)

...

Constructors.


Anchor
ac9c97b299e91a57c0a7c4a3b4cac210a
ac9c97b299e91a57c0a7c4a3b4cac210a

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

...

public: GEO_FORCE_INLINE GeoPair
(
    GeoPair && rhs
)

...

Constructors.


Anchor
a56b29ce1ebbd0832e416b9015da3caa0
a56b29ce1ebbd0832e416b9015da3caa0

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

...

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

...

Equality operators.


Anchor
a3ef6d2f815e8c256e24798ed9e07b830
a3ef6d2f815e8c256e24798ed9e07b830

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.


Anchor
afaae1138de388ffe1bfc171cb922766c
afaae1138de388ffe1bfc171cb922766c

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

...

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

...

Assignment.


Anchor
ad01b9e8f3569166c8948e4c031460c14
ad01b9e8f3569166c8948e4c031460c14

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

...

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

...

Move assignment.


Anchor
afb77bd83b9bb13ae51f2e001f05c7332
afb77bd83b9bb13ae51f2e001f05c7332

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

...

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

...

Equality operators.