Namespaces
Variants

std::basic_const_iterator<Iter>:: basic_const_iterator

From cppreference.net
Iterator library
Iterator concepts
Iterator primitives
Algorithm concepts and utilities
Indirect callable concepts
Common algorithm requirements
(C++20)
(C++20)
(C++20)
Utilities
(C++20)
Iterator adaptors
Range access
(C++11) (C++14)
(C++14) (C++14)
(C++11) (C++14)
(C++14) (C++14)
(C++17) (C++20)
(C++17)
(C++17)
basic_const_iterator ( ) requires std:: default_initializable < Iter > = default ;
(1) (C++23以降)
constexpr basic_const_iterator ( Iter x ) ;
(2) (C++23以降)
template < std:: convertible_to < Iter > U >
constexpr basic_const_iterator ( basic_const_iterator < U > other ) ;
(3) (C++23以降)
template < /*different-from*/ < basic_const_iterator > T >

requires std:: convertible_to < T, Iter >

constexpr basic_const_iterator ( T && x ) ;
(4) (C++23以降)

新しいイテレータアダプタを構築します。

1) デフォルトコンストラクタ。基盤となるイテレータは値初期化されます。
2) 基盤となるイテレータは std :: move ( x ) で初期化されます。
3) 基となるイテレータは other のイテレータで初期化されます。
4) 基となるイテレータは std:: forward < T > ( x ) で初期化されます。

パラメータ

x - アダプトするイテレータ
other - コピーするイテレータアダプタ

関連項目

他の basic_const_iterator を代入する
(公開メンバ関数)