Classes | Static Public Member Functions | List of all members
absl::variant_internal::VariantCoreAccess Struct Reference

#include <variant.h>

Classes

struct  ConversionAssignVisitor
 
struct  CopyAssignVisitor
 
struct  InitFromVisitor
 
struct  MoveAssignVisitor
 

Static Public Member Functions

template<std::size_t I, class Variant >
static VariantAccessResult< I, Variant > Access (Variant &&self)
 
template<std::size_t I, class Variant >
static VariantAccessResult< I, Variant > CheckedAccess (Variant &&self)
 
template<class VariantType >
static VariantType::Variant & Derived (VariantType &self)
 
template<class VariantType >
static const VariantType::Variant & Derived (const VariantType &self)
 
template<class VariantType >
static void Destroy (VariantType &self)
 
template<class Variant >
static void InitFrom (Variant &self, Variant &&other)
 
template<class Left , class QualifiedNew >
static ConversionAssignVisitor< Left, QualifiedNew > MakeConversionAssignVisitor (Left *left, QualifiedNew &&qual)
 
template<class VType >
static CopyAssignVisitor< VType > MakeCopyAssignVisitor (VType *left, const VType &other)
 
template<class VType >
static MoveAssignVisitor< VType > MakeMoveAssignVisitor (VType *left, VType *other)
 
template<std::size_t NewIndex, class Self , class... Args>
static absl::variant_alternative< NewIndex, Self >::type & Replace (Self *self, Args &&...args)
 
template<class Variant >
static void SetIndex (Variant &self, std::size_t i)
 

Detailed Description

Definition at line 552 of file internal/variant.h.

Member Function Documentation

template<std::size_t I, class Variant >
static VariantAccessResult<I, Variant> absl::variant_internal::VariantCoreAccess::Access ( Variant &&  self)
inlinestatic

Definition at line 586 of file internal/variant.h.

template<std::size_t I, class Variant >
static VariantAccessResult<I, Variant> absl::variant_internal::VariantCoreAccess::CheckedAccess ( Variant &&  self)
inlinestatic

Definition at line 597 of file internal/variant.h.

template<class VariantType >
static VariantType::Variant& absl::variant_internal::VariantCoreAccess::Derived ( VariantType &  self)
inlinestatic

Definition at line 554 of file internal/variant.h.

template<class VariantType >
static const VariantType::Variant& absl::variant_internal::VariantCoreAccess::Derived ( const VariantType &  self)
inlinestatic

Definition at line 559 of file internal/variant.h.

template<class VariantType >
static void absl::variant_internal::VariantCoreAccess::Destroy ( VariantType &  self)
inlinestatic

Definition at line 565 of file internal/variant.h.

template<class Variant >
static void absl::variant_internal::VariantCoreAccess::InitFrom ( Variant &  self,
Variant &&  other 
)
inlinestatic

Definition at line 576 of file internal/variant.h.

template<class Left , class QualifiedNew >
static ConversionAssignVisitor<Left, QualifiedNew> absl::variant_internal::VariantCoreAccess::MakeConversionAssignVisitor ( Left *  left,
QualifiedNew &&  qual 
)
inlinestatic

Definition at line 701 of file internal/variant.h.

template<class VType >
static CopyAssignVisitor<VType> absl::variant_internal::VariantCoreAccess::MakeCopyAssignVisitor ( VType *  left,
const VType &  other 
)
inlinestatic

Definition at line 661 of file internal/variant.h.

template<class VType >
static MoveAssignVisitor<VType> absl::variant_internal::VariantCoreAccess::MakeMoveAssignVisitor ( VType *  left,
VType *  other 
)
inlinestatic

Definition at line 628 of file internal/variant.h.

template<std::size_t NewIndex, class Self , class... Args>
static absl::variant_alternative<NewIndex, Self>::type& absl::variant_internal::VariantCoreAccess::Replace ( Self *  self,
Args &&...  args 
)
inlinestatic

Definition at line 708 of file internal/variant.h.

template<class Variant >
static void absl::variant_internal::VariantCoreAccess::SetIndex ( Variant &  self,
std::size_t  i 
)
inlinestatic

Definition at line 571 of file internal/variant.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:20:00