libstdc++
std::iterator_traits< _Tp * > Struct Template Reference

#include <stl_iterator_base_types.h>

Public Types

using difference_type = ptrdiff_t
 
using iterator_category = random_access_iterator_tag
 
using iterator_concept = contiguous_iterator_tag
 
using pointer = _Tp *
 
using reference = _Tp &
 
using value_type = remove_cv_t< _Tp >
 

Detailed Description

template<typename _Tp>
requires is_object_v<_Tp>
struct std::iterator_traits< _Tp * >

Partial specialization for object pointer types.

Definition at line 198 of file stl_iterator_base_types.h.

Member Typedef Documentation

◆ difference_type

template<typename _Tp >
using std::iterator_traits< _Tp * >::difference_type = ptrdiff_t

Definition at line 203 of file stl_iterator_base_types.h.

◆ iterator_category

template<typename _Tp >
using std::iterator_traits< _Tp * >::iterator_category = random_access_iterator_tag

Definition at line 201 of file stl_iterator_base_types.h.

◆ iterator_concept

template<typename _Tp >
using std::iterator_traits< _Tp * >::iterator_concept = contiguous_iterator_tag

Definition at line 200 of file stl_iterator_base_types.h.

◆ pointer

template<typename _Tp >
using std::iterator_traits< _Tp * >::pointer = _Tp*

Definition at line 204 of file stl_iterator_base_types.h.

◆ reference

template<typename _Tp >
using std::iterator_traits< _Tp * >::reference = _Tp&

Definition at line 205 of file stl_iterator_base_types.h.

◆ value_type

template<typename _Tp >
using std::iterator_traits< _Tp * >::value_type = remove_cv_t<_Tp>

Definition at line 202 of file stl_iterator_base_types.h.


The documentation for this struct was generated from the following file: