libcoro  1.0
Coroutine support library for C++20

◆ get() [1/2]

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

Get as reference.

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

Definition at line 407 of file function.h.