NIM 跨平台 C++ SDK
|
#include <phmap_base.h>
Public 类型 | |
using | value_type = phmap::remove_cv_t<T> |
using | pointer = T* |
using | const_pointer = const T* |
using | reference = T& |
using | const_reference = const T& |
using | iterator = pointer |
using | const_iterator = const_pointer |
using | reverse_iterator = std::reverse_iterator<iterator> |
using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
using | size_type = size_t |
using | difference_type = ptrdiff_t |
Public 成员函数 | |
constexpr | Span () noexcept |
constexpr | Span (pointer array, size_type lgth) noexcept |
template<size_t N> | |
constexpr | Span (T(&a)[N]) noexcept |
template<typename V , typename = EnableIfConvertibleFrom<V>, typename = EnableIfMutableView<V>> | |
Span (V &v) noexcept | |
template<typename V , typename = EnableIfConvertibleFrom<V>, typename = EnableIfConstView<V>> | |
constexpr | Span (const V &v) noexcept |
template<typename LazyT = T, typename = EnableIfConstView<LazyT>> | |
Span (std::initializer_list< value_type > v) noexcept | |
constexpr pointer | data () const noexcept |
constexpr size_type | size () const noexcept |
constexpr size_type | length () const noexcept |
constexpr bool | empty () const noexcept |
constexpr reference | operator[] (size_type i) const noexcept |
constexpr reference | at (size_type i) const |
constexpr reference | front () const noexcept |
constexpr reference | back () const noexcept |
constexpr iterator | begin () const noexcept |
constexpr const_iterator | cbegin () const noexcept |
constexpr iterator | end () const noexcept |
constexpr const_iterator | cend () const noexcept |
constexpr reverse_iterator | rbegin () const noexcept |
constexpr const_reverse_iterator | crbegin () const noexcept |
constexpr reverse_iterator | rend () const noexcept |
constexpr const_reverse_iterator | crend () const noexcept |
void | remove_prefix (size_type n) noexcept |
void | remove_suffix (size_type n) noexcept |
constexpr Span | subspan (size_type pos=0, size_type len=npos) const |
constexpr Span | first (size_type len) const |
constexpr Span | last (size_type len) const |
静态 Public 属性 | |
static const size_type | npos = ~(size_type(0)) |
Private 类型 | |
template<typename C > | |
using | EnableIfConvertibleFrom |
template<typename U > | |
using | EnableIfConstView |
template<typename U > | |
using | EnableIfMutableView |
Private 属性 | |
pointer | ptr_ |
size_type | len_ |
友元 | |
template<typename H > | |
H | AbslHashValue (H h, Span v) |
using phmap::Span< T >::const_iterator = const_pointer |
using phmap::Span< T >::const_pointer = const T* |
using phmap::Span< T >::const_reference = const T& |
using phmap::Span< T >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
using phmap::Span< T >::difference_type = ptrdiff_t |
using phmap::Span< T >::iterator = pointer |
using phmap::Span< T >::pointer = T* |
using phmap::Span< T >::reference = T& |
using phmap::Span< T >::reverse_iterator = std::reverse_iterator<iterator> |
using phmap::Span< T >::size_type = size_t |
using phmap::Span< T >::value_type = phmap::remove_cv_t<T> |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineexplicitnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
private |
|
static |
|
private |