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::take_while_view::begin(3) C++ Standard Libary std::ranges::take_while_view::begin(3)

std::ranges::take_while_view::begin - std::ranges::take_while_view::begin


constexpr auto begin() requires (!__SimpleView<V>); (1) (since C++20)
constexpr auto begin() const requires


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


std::indirect_unary_predicate<const Pred, ranges::iterator_t<const
V>>;


Returns an iterator to the first element of the view. Effectively calls
ranges::begin on the underlying view.


Overload (1) does not participate in overload resolution if V is a simple view (that
is, if V and const V are views with the same iterator and sentinel types).


(none)


ranges::begin(base_), where base_ is the underlying view.


This section is incomplete
Reason: no example


Defect reports


The following behavior-changing defect reports were applied retroactively to
previously published C++ standards.


DR Applied to Behavior as published Correct behavior
LWG 3450 C++20 the const overload might return an iterator constrained
non-comparable to the sentinel


end returns a sentinel representing the end
(C++20) (public member function)
operator== compares a sentinel with an iterator returned from take_while_view::begin
(C++20) (function)

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.