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
 
template<typename... Args>
 Obj (in_place_t, Args &&... args)
 
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
 

Public Attributes

value
 

Detailed Description

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

Definition at line 393 of file any.h.

Constructor & Destructor Documentation

◆ Obj()

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

Definition at line 396 of file any.h.

Member Function Documentation

◆ Clone()

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

Implements absl::any::ObjInterface.

Definition at line 399 of file any.h.

◆ ObjTypeId()

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

Implements absl::any::ObjInterface.

Definition at line 403 of file any.h.

◆ Type()

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

Implements absl::any::ObjInterface.

Definition at line 406 of file any.h.

Member Data Documentation

◆ value

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

Definition at line 409 of file any.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22