AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
Classes | Namespaces | Typedefs | Functions
Variant.h File Reference
#include <aws/common/assert.h>
#include <aws/crt/Utility.h>
#include <algorithm>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

struct  Aws::Crt::VariantDetail::Checker::HasType< T, Ts >
 
class  Aws::Crt::Variant< Ts >
 
class  Aws::Crt::VariantAlternative< Index, Ts >
 
class  Aws::Crt::VariantSize< T >
 

Namespaces

 Aws
 
 Aws::Crt
 
 Aws::Crt::VariantDetail
 
 Aws::Crt::VariantDetail::ParameterPackSize
 
 Aws::Crt::VariantDetail::Index
 
 Aws::Crt::VariantDetail::Checker
 

Typedefs

using Aws::Crt::VariantDetail::Index::VariantIndex = short
 

Functions

template<typename T >
constexpr const T & Aws::Crt::VariantDetail::ConstExprMax (const T &a, const T &b)
 
template<typename Last >
constexpr std::size_t Aws::Crt::VariantDetail::ParameterPackSize::GetMaxSizeOf (std::size_t curMax=0)
 
template<typename First , typename Second , typename... Rest>
constexpr std::size_t Aws::Crt::VariantDetail::ParameterPackSize::GetMaxSizeOf (std::size_t curMax=0)
 
template<typename Last >
constexpr std::size_t Aws::Crt::VariantDetail::ParameterPackSize::AlignAsPack (std::size_t curMax=0)
 
template<typename First , typename Second , typename... Rest>
constexpr std::size_t Aws::Crt::VariantDetail::ParameterPackSize::AlignAsPack (std::size_t curMax=0)
 
template<typename T , typename Last >
constexpr VariantIndex Aws::Crt::VariantDetail::Index::GetIndexOf (VariantIndex curIndex=0)
 
template<typename T , typename First , typename Second , typename... Rest>
constexpr VariantIndex Aws::Crt::VariantDetail::Index::GetIndexOf (VariantIndex curIndex=0)
 
template<typename T , typename Last >
constexpr bool Aws::Crt::VariantDetail::Checker::ContainsType ()
 
template<typename T , typename First , typename Second , typename... Rest>
constexpr bool Aws::Crt::VariantDetail::Checker::ContainsType ()
 
template<typename T >
constexpr bool Aws::Crt::VariantDetail::Checker::ContainsType ()