GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::ranges::transform_view::end(3) C++ Standard Libary std::ranges::transform_view::end(3)

std::ranges::transform_view::end - std::ranges::transform_view::end


constexpr /*sentinel*/<false> end(); (1) (since C++20)
constexpr /*iterator*/<false> end() requires (2) (since C++20)
ranges::common_range<V>;
constexpr /*sentinel*/<true> end() const


requires ranges::range<const V> && (3) (since C++20)


std::regular_invocable<const F&, ranges::range_reference_t<const
V>>;
constexpr /*iterator*/<true> end() const


requires ranges::common_range<const V> && (4) (since C++20)


std::regular_invocable<const F&, ranges::range_reference_t<const
V>>;


Returns a sentinel or an iterator representing the end of the transform_view.


Let base_ be the underlying view:


1) Equivalent to return /*sentinel*/<false>{ranges::end(base_)};.
2) Equivalent to return /*iterator*/<false>{*this, ranges::end(base_)};.
3) Equivalent to return /*sentinel*/<true>{ranges::end(base_)};.
4) Equivalent to return /*iterator*/<true>{*this, ranges::end(base_)};.


(none)


1,3) sentinel which compares equal to the end iterator
2,4) iterator to the element following the last element


end() returns an iterator if and only if the underlying view is a common_range:
transform_view<V,F> models common_range whenever V does.


This section is incomplete
Reason: no example


begin returns an iterator to the beginning
(C++20) (public member function)
ranges::end returns a sentinel indicating the end of a range
(C++20) (customization point object)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.