libcoro  1.0
Coroutine support library for C++20

◆ get() [2/2]

template<unsigned int reserved_space = 4*sizeof(void *)>
template<typename T >
const T& coro::any< reserved_space >::get ( ) const
inline

Get as reference.

Template Parameters
Texpected type
Returns
returns reference to held variable
Exceptions
bad_castT type mismatch

Definition at line 394 of file function.h.