|
ZeroErr
|
#include <string.h>
静态 Public 成员函数 | |
| template<class U > | |
| static auto | test (int) -> decltype(static_cast< const char * >(std::declval< const U & >().data()), static_cast< std::size_t >(std::declval< const U & >().size()), std::true_type{}) |
| template<class > | |
| static std::false_type | test (...) |
| template<class U > | |
| static auto | own (int) -> decltype(std::declval< U & >().append(static_cast< const char * >(nullptr), std::size_t{}), std::true_type{}) |
| template<class > | |
| static std::false_type | own (...) |
静态 Public 属性 | |
| static constexpr bool | value = decltype(test<T>(0))::value |
| static constexpr bool | owning = value && decltype(own<T>(0))::value |
|
static |
|
static |
|
static |
|
static |
|
staticconstexpr |
|
staticconstexpr |