Public Member Functions | Public Attributes | List of all members
absl::any::Obj< T > Class Template Reference
Inheritance diagram for absl::any::Obj< T >:
Inheritance graph
[legend]

Public Member Functions

std::unique_ptr< ObjInterfaceClone () const final
 
std::unique_ptr< ObjInterfaceClone () const final
 
template<typename... Args>
 Obj (in_place_t, Args &&... args)
 
template<typename... Args>
 Obj (in_place_t, Args &&... args)
 
const void * ObjTypeId () const noexcept final
 
const void * ObjTypeId () const noexcept final
 
const std::type_info & Type () const noexcept final
 
- Public Member Functions inherited from absl::any::ObjInterface
virtual ~ObjInterface ()=default
 
virtual ~ObjInterface ()=default
 

Public Attributes

T value
 

Detailed Description

template<typename T>
class absl::any::Obj< T >

Definition at line 368 of file abseil-cpp/absl/types/any.h.

Constructor & Destructor Documentation

◆ Obj() [1/2]

template<typename T >
template<typename... Args>
absl::any::Obj< T >::Obj ( in_place_t  ,
Args &&...  args 
)
inlineexplicit

Definition at line 371 of file abseil-cpp/absl/types/any.h.

◆ Obj() [2/2]

template<typename T >
template<typename... Args>
absl::any::Obj< T >::Obj ( in_place_t  ,
Args &&...  args 
)
inlineexplicit

Member Function Documentation

◆ Clone() [1/2]

template<typename T >
std::unique_ptr<ObjInterface> absl::any::Obj< T >::Clone ( ) const
inlinefinalvirtual

Implements absl::any::ObjInterface.

Definition at line 374 of file abseil-cpp/absl/types/any.h.

◆ Clone() [2/2]

template<typename T >
std::unique_ptr<ObjInterface> absl::any::Obj< T >::Clone ( ) const
inlinefinalvirtual

◆ ObjTypeId() [1/2]

template<typename T >
const void* absl::any::Obj< T >::ObjTypeId ( ) const
inlinefinalvirtualnoexcept

Implements absl::any::ObjInterface.

Definition at line 378 of file abseil-cpp/absl/types/any.h.

◆ ObjTypeId() [2/2]

template<typename T >
const void* absl::any::Obj< T >::ObjTypeId ( ) const
inlinefinalvirtualnoexcept

◆ Type()

template<typename T >
const std::type_info& absl::any::Obj< T >::Type ( ) const
inlinefinalvirtualnoexcept

Member Data Documentation

◆ value

template<typename T >
T absl::any::Obj< T >::value

Definition at line 384 of file abseil-cpp/absl/types/any.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:51