Asylo
|
Functions | |
template<typename T > | |
constexpr bool | HasStatus (decltype(std::declval< T >().status()) *) |
template<typename T > | |
constexpr bool | HasStatus (...) |
template<typename T , typename std::enable_if< HasStatus< T >(nullptr), int >::type = 0> | |
auto | ToStatus (T &&status_or) -> decltype(status_or.status()) |
template<typename T , typename std::enable_if<!HasStatus< T >(nullptr), int >::type = 0> | |
T | ToStatus (T &&status_like) |
|
inline |
|
inline |
|
inline |
|
inline |