NIM PC Cross Platform SDK
|
类 | |
struct | ElementType |
struct | ElementType< T(&)[N]> |
struct | IsConvertible |
struct | IsConvertibleHelper |
类型定义 | |
template<typename C > | |
using | HasSize = std::is_integral< phmap::decay_t< decltype(std::declval< C & >().size())> > |
template<typename T , typename C > | |
using | HasData = std::is_convertible< phmap::decay_t< decltype(GetData(std::declval< C & >()))> *, T *const * > |
template<typename C > | |
using | ElementT = typename ElementType< C >::type |
template<typename T > | |
using | EnableIfMutable = typename std::enable_if<!std::is_const< T >::value, int >::type |
template<typename From , typename To > | |
using | EnableIfConvertibleToSpanConst = typename std::enable_if< IsConvertible< From, Span< const To > >::value >::type |
函数 | |
constexpr size_t | Min (size_t a, size_t b) noexcept |
template<typename C > | |
constexpr auto | GetDataImpl (C &c, char) noexcept -> decltype(c.data()) |
char * | GetDataImpl (std::string &s, int) noexcept |
template<typename C > | |
constexpr auto | GetData (C &c) noexcept -> decltype(GetDataImpl(c, 0)) |
template<typename T > | |
bool | EqualImpl (Span< T > a, Span< T > b) |
template<typename T > | |
bool | LessThanImpl (Span< T > a, Span< T > b) |
using phmap::span_internal::ElementT = typedef typename ElementType<C>::type |
using phmap::span_internal::EnableIfConvertibleToSpanConst = typedef typename std::enable_if<IsConvertible<From, Span<const To> >::value>::type |
using phmap::span_internal::EnableIfMutable = typedef typename std::enable_if<!std::is_const<T>::value, int>::type |
using phmap::span_internal::HasData = typedef std::is_convertible<phmap::decay_t<decltype(GetData(std::declval<C&>()))>*, T* const*> |
using phmap::span_internal::HasSize = typedef std::is_integral<phmap::decay_t<decltype(std::declval<C&>().size())> > |
|
constexprnoexcept |
|
constexprnoexcept |
|
inlinenoexcept |
|
constexprnoexcept |