A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/iterator/basic_const_iterator/basic_const_iterator.html below:

std::basic_const_iterator<Iter>::basic_const_iterator - cppreference.com

(1) (since C++23)

constexpr basic_const_iterator( Iter x );

(2) (since C++23) template< std::convertible_to<Iter> U >
constexpr basic_const_iterator( basic_const_iterator<U> other );
(3) (since C++23) template< /*different-from*/<basic_const_iterator> T >

    requires std::convertible_to<T, Iter>

constexpr basic_const_iterator( T&& x );
(4) (since C++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)

.

[edit] Parameters x - iterator to adapt other - iterator adaptor to copy [edit] Example [edit] See also assigns another basic_const_iterator
(public member function) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4