Support Class Library
A set of tools providing classes and utility
Public Types | Public Member Functions | Protected Attributes | List of all members
scl::utils::details::__any__impl< T > Class Template Referencefinal

#include "Any.h"

Inheritance diagram for scl::utils::details::__any__impl< T >:
Inheritance graph
[legend]
Collaboration diagram for scl::utils::details::__any__impl< T >:
Collaboration graph
[legend]

Public Types

using type = T
 
- Public Types inherited from scl::utils::details::__any_base
using type = void
 

Public Member Functions

void polymorphism () const final
 
template<class = scl::tools::meta ::enable_if_t< scl::tools::meta ::is_move_constructible<T>() >>
 __any__impl (T &&value)
 
template<class = scl::tools::meta ::enable_if_t< scl::tools::meta ::is_copy_constructible<T>() >>
 __any__impl (const T &value)
 
template<class U >
as () const
 

Protected Attributes

value
 

Detailed Description

template<class T>
class scl::utils::details::__any__impl< T >

Definition at line 25 of file Any.h.

Member Typedef Documentation

◆ type

template<class T >
using scl::utils::details::__any__impl< T >::type = T

Definition at line 30 of file Any.h.

Constructor & Destructor Documentation

◆ __any__impl() [1/2]

template<class T >
template<class = scl::tools::meta ::enable_if_t< scl::tools::meta ::is_move_constructible<T>() >>
scl::utils::details::__any__impl< T >::__any__impl ( T &&  value)
inline

Definition at line 37 of file Any.h.

◆ __any__impl() [2/2]

template<class T >
template<class = scl::tools::meta ::enable_if_t< scl::tools::meta ::is_copy_constructible<T>() >>
scl::utils::details::__any__impl< T >::__any__impl ( const T &  value)
inline

Definition at line 43 of file Any.h.

Member Function Documentation

◆ as()

template<class T >
template<class U >
U scl::utils::details::__any__impl< T >::as ( ) const
inline

Definition at line 47 of file Any.h.

◆ polymorphism()

template<class T >
void scl::utils::details::__any__impl< T >::polymorphism ( ) const
inlinefinalvirtual

Implements scl::utils::details::__any_base.

Definition at line 32 of file Any.h.

Member Data Documentation

◆ value

template<class T >
T scl::utils::details::__any__impl< T >::value
protected

Definition at line 27 of file Any.h.


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