Bifrost SDK
Bifrost SDK documentation
Any.h File Reference

A generic value object. More...

#include "internal/AnyImpl.h"

Go to the source code of this file.

Classes

class  Amino::AnyPayloadTraits
 Traits about the to-be-payload of an Amino::Any. More...
 
class  Amino::Any
 Generic value class that allows for storage of a value of any type. More...
 

Namespaces

namespace  Amino
 

Functions

void Amino::swap (Any &lhs, Any &rhs) noexcept
 Swap the payloads of two instances of Any. More...
 
template<class ValueType , typename = std::enable_if_t<!std::is_same<void, ValueType>::value>>
std::add_pointer_t< std::add_const_t< ValueType > > Amino::any_cast (Any const *v) noexcept
 Cast an instance of Any to a payload type. More...
 
template<class ValueType , typename = std::enable_if_t<!std::is_same<void, ValueType>::value>>
std::add_pointer_t< ValueType > Amino::any_cast (Any *v) noexcept
 Cast an instance of Any to a payload type. More...
 
template<class ValueType , typename = std::enable_if_t<std::is_same<void, ValueType>::value>>
void const * Amino::any_cast (Any const *v) noexcept
 Get the pointer the payload of the Any as const void*. More...
 
template<typename ValueType >
ValueType Amino::any_cast (Any const &v) noexcept
 Cast an instance of Any to a payload type. More...
 
template<typename ValueType >
ValueType Amino::any_cast (Any &&v) noexcept
 Cast an instance of Any to a payload type. More...
 

Detailed Description

A generic value object.

See also
Amino::Any

Definition in file Any.h.