MySQL 8.0.39
Source Code Documentation
|
Functions | |
template<class T > | |
auto | test_for_allocate (int T::*) -> decltype(std::declval< T >().allocate(std::declval< size_t >()), std::true_type{}) |
Tests for the existence of allocate(size_t) in order to disambiguate if T is an allocator class. More... | |
template<class > | |
std::false_type | test_for_allocate (...) |
std::false_type memory::traits::test_for_allocate | ( | ... | ) |
auto memory::traits::test_for_allocate | ( | int T::* | ) | -> decltype(std::declval< T >().allocate(std::declval< size_t >()), std::true_type{}) |
Tests for the existence of allocate(size_t)
in order to disambiguate if T
is an allocator class.