|
MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
原始指针的迭代器特性特化 更多...
#include <iterator_traits.hpp>
Public 类型 | |
| using | iterator_category = contiguous_iterator_tag |
| 迭代器类别 | |
| using | value_type = remove_cv_t<T> |
| 值类型 | |
| using | difference_type = ptrdiff_t |
| 差值类型 | |
| using | pointer = T* |
| 指针类型 | |
| using | reference = T& |
| 引用类型 | |
原始指针的迭代器特性特化
| T | 指针指向的类型 |
为原始指针提供优化的迭代器特性定义。 原始指针被视为连续迭代器(contiguous iterator)。
在文件 iterator_traits.hpp 第 69 行定义.