Namespaces | Classes | Functions
linb Namespace Reference

Namespaces

 detail
 

Classes

class  any
 
class  bad_any_cast
 

Functions

template<typename ValueType >
ValueType any_cast (const any &operand)
 Performs *any_cast<add_const_t<remove_reference_t<ValueType>>>(&operand), or throws bad_any_cast on failure. More...
 
template<typename ValueType >
ValueType any_cast (any &operand)
 Performs *any_cast<remove_reference_t<ValueType>>(&operand), or throws bad_any_cast on failure. More...
 
template<typename ValueType >
ValueType any_cast (any &&operand)
 
template<typename T >
const T * any_cast (const any *operand) noexcept
 
template<typename T >
T * any_cast (any *operand) noexcept
 

Function Documentation

template<typename ValueType >
ValueType linb::any_cast ( const any operand)
inline

Performs *any_cast<add_const_t<remove_reference_t<ValueType>>>(&operand), or throws bad_any_cast on failure.

Definition at line 386 of file any.hpp.

template<typename ValueType >
ValueType linb::any_cast ( any operand)
inline

Performs *any_cast<remove_reference_t<ValueType>>(&operand), or throws bad_any_cast on failure.

Definition at line 398 of file any.hpp.

template<typename ValueType >
ValueType linb::any_cast ( any &&  operand)
inline

If ANY_IMPL_ANYCAST_MOVEABLE is not defined, does as N4562 specifies: Performs *any_cast<remove_reference_t<ValueType>>(&operand), or throws bad_any_cast on failure.

If ANY_IMPL_ANYCAST_MOVEABLE is defined, does as LWG Defect 2509 specifies: If ValueType is MoveConstructible and isn't a lvalue reference, performs std::move(*any_cast<remove_reference_t<ValueType>>(&operand)), otherwise *any_cast<remove_reference_t<ValueType>>(&operand). Throws bad_any_cast on failure.

Definition at line 416 of file any.hpp.

template<typename T >
const T* linb::any_cast ( const any operand)
inlinenoexcept

If operand != nullptr && operand->type() == typeid(ValueType), a pointer to the object contained by operand, otherwise nullptr.

Definition at line 435 of file any.hpp.

template<typename T >
T* linb::any_cast ( any operand)
inlinenoexcept

If operand != nullptr && operand->type() == typeid(ValueType), a pointer to the object contained by operand, otherwise nullptr.

Definition at line 446 of file any.hpp.



behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sun Feb 3 2019 03:14:33