halcheck 1.0
Loading...
Searching...
No Matches
halcheck::lib::any Class Reference

An implemenetation of std::any. More...

#include <any.hpp>

Public Member Functions

 any (const any &other)
 
 any (any &&other) noexcept(false)
 
template<typename T >
 any (T &&value)
 
template<typename T , typename... Args>
 any (lib::in_place_type_t< T >, Args &&...args)
 
template<typename T , typename U , typename... Args>
 any (lib::in_place_type_t< T >, std::initializer_list< U > il, Args &&...args)
 
anyoperator= (const any &rhs)
 
anyoperator= (any &&rhs) noexcept
 
template<typename T >
anyoperator= (T &&rhs) noexcept
 
template<typename T , typename... Args>
T & emplace (Args &&...args)
 
template<typename T , typename U , typename... Args>
T & emplace (std::initializer_list< U > il, Args &&...args)
 
void reset () noexcept
 
void swap (any &other) noexcept
 
bool has_value () const noexcept
 
const lib::type_idtype () const
 

Friends

template<typename T >
const T * any_cast (const any *operand)
 
template<typename T >
T * any_cast (any *operand)
 
void swap (any &lhs, any &rhs) noexcept
 

Related Symbols

(Note that these are not member symbols.)

template<typename T >
any_cast (const any &operand)
 An implementation of std::any_cast.
 
template<typename T >
any_cast (any &operand)
 An implementation of std::any_cast.
 
template<typename T >
any_cast (any &&operand)
 An implementation of std::any_cast.
 
template<typename T >
const T * any_cast (const any *operand) noexcept
 An implementation of std::any_cast.
 
template<typename T >
T * any_cast (any *operand) noexcept
 An implementation of std::any_cast.
 
template<typename T , typename... Args>
any make_any (Args &&...args)
 An implementation of std::make_any.
 

Detailed Description

An implemenetation of std::any.

See also
std::any

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