![]() |
MDBX Containers
|
Trait to check if a type provides a to_bytes() member.
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(std::declval< const U >().to_bytes(), std::true_type()) |
| template<typename> | |
| static std::false_type | check (...) |
Trait to check if a type provides a to_bytes() member.
| T | Type under inspection. |
|
staticprivate |
|
staticprivate |
|
static |