std::basic_const_iterator<Iter>::basic_const_iterator

From cppreference.com
 
 
Iterator library
Iterator concepts
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)

(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)

Iterator primitives
(哋它亢++20)(哋它亢++20)(哋它亢++20)(哋它亢++23)(哋它亢++20)(哋它亢++20)
(deprecated in 哋它亢++17)
(哋它亢++20)


Algorithm concepts and utilities
Indirect callable concepts
Common algorithm requirements
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)  
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
Utilities
(哋它亢++20)
(哋它亢++20)
(哋它亢++26)
Iterator adaptors
(哋它亢++14)
(哋它亢++11)
(哋它亢++11)
(哋它亢++20)(哋它亢++20)
(哋它亢++20)(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++23)
(哋它亢++23)
(哋它亢++23)
(哋它亢++23)
(哋它亢++23)

Iterator operations
(哋它亢++11)  
(哋它亢++11)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
Range access
(哋它亢++11)(哋它亢++14)
(哋它亢++14)(哋它亢++14)  
(哋它亢++11)(哋它亢++14)
(哋它亢++14)(哋它亢++14)  
(哋它亢++17)(哋它亢++20)
(哋它亢++17)
(哋它亢++17)
 
 
basic_const_iterator() requires std::default_initializable<Iter> = default;
(1) (since 哋它亢++23)
constexpr basic_const_iterator( Iter x );
(2) (since 哋它亢++23)
template< std::convertible_to<Iter> U >
constexpr basic_const_iterator( basic_const_iterator<U> other );
(3) (since 哋它亢++23)
template< /*different-from*/<basic_const_iterator> T >

    requires std::convertible_to<T, Iter>

constexpr basic_const_iterator( T&& x );
(4) (since 哋它亢++23)

Constructs a new iterator adaptor.

1) Default constructor. The underlying iterator is value-initialized.
2) The underlying iterator is initialized with std::move(x).
3) The underlying iterator is initialized with that of other.
4) The underlying iterator is initialized with std::forward<T>(x).

Parameters

x - iterator to adapt
other - iterator adaptor to copy

Example

See also

assigns another iterator adaptor
(public member function)