Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::pair< T1, T2 > Struct Template Reference

Public Types

typedef pair< T1, T2 > this_type
 
typedef T1 first_type
 
typedef T2 second_type
 
using TT1 = AZStd::remove_reference_t< T1 >
 
using TT2 = AZStd::remove_reference_t< T2 >
 

Public Member Functions

constexpr pair ()
 Construct from defaults.
 
constexpr pair (const T1 &value1)
 Constructs only the first element, default the second.
 
constexpr pair (const T1 &value1, const T2 &value2)
 Construct from specified values.
 
constexpr pair (const this_type &rhs)
 Copy constructor.
 
template<class Other1 , class Other2 >
constexpr pair (const pair< Other1, Other2 > &rhs)
 
constexpr pair (TT1 &&value1, TT2 &&value2)
 
constexpr pair (const TT1 &value1, TT2 &&value2)
 
constexpr pair (TT1 &&value1, const TT2 &value2)
 
template<class Other1 , class Other2 >
constexpr pair (Other1 &&value1, Other2 &&value2)
 
constexpr pair (pair &&rhs)
 
template<class Other1 , class Other2 >
constexpr pair (pair< Other1, Other2 > &&rhs)
 
template<template< class... > class TupleType, class... Args1, class... Args2>
constexpr pair (piecewise_construct_t, TupleType< Args1... > first_args, TupleType< Args2... > second_args)
 
template<template< class... > class TupleType, class... Args1, class... Args2, size_t... I1, size_t... I2>
constexpr pair (piecewise_construct_t, TupleType< Args1... > &first_args, TupleType< Args2... > &second_args, AZStd::index_sequence< I1... >, AZStd::index_sequence< I2... >)
 
constexpr this_typeoperator= (this_type &&rhs)
 
template<class Other1 , class Other2 >
constexpr this_typeoperator= (const pair< Other1, Other2 > &&rhs)
 
void swap (this_type &rhs)
 
constexpr this_typeoperator= (const this_type &rhs)
 
template<class Other1 , class Other2 >
constexpr this_typeoperator= (const pair< Other1, Other2 > &rhs)
 

Public Attributes

T1 first
 
T2 second
 

The documentation for this struct was generated from the following files: