![]() |
MDBX Containers
|
Trait to check if a type provides a static from_bytes()
method.
More...
#include <utils.hpp>
Static Public Attributes | |
static const bool | value = decltype(check<T>(0))::value |
Static Private Member Functions | |
template<typename U> | |
static auto | check (U *) -> decltype(U::from_bytes((const void *) 0, size_t(0)), std::true_type()) |
template<typename> | |
static std::false_type | check (...) |
Trait to check if a type provides a static from_bytes()
method.
T | Type under inspection. |
|
staticprivate |
|
staticprivate |
|
static |