libcoro  1.0
Coroutine support library for C++20

◆ get_ptr() [2/2]

template<unsigned int reserved_space = 4*sizeof(void *)>
template<typename T >
T* coro::any< reserved_space >::get_ptr ( )
inlinenoexcept

Get as pointer.

Template Parameters
Texpected type
Returns
returns pointer to held variable, or nullptr if T mismatch

doesn't throw exception

Definition at line 380 of file function.h.