std::ranges...view::begin(3)
π¦ std::ranges::join_with_view::begin π¦
okay so bestie, this page is from the C++ Standard Libary manual, section 3, and the whole main-character moment is std::ranges::join_with_view::begin. no cap, thatβs the exact page name. π
β¨ NAME β¨
std::ranges::join_with_view::begin β std::ranges::join_with_view::begin
β¨ Synopsis β¨
Overload (1):
constexpr auto begin();
(1) β since C++23.
Overload (2):
constexpr auto begin() const
requires ranges::input_range<const V> &&
ranges::forward_range<const Pattern> &&
std::is_reference_v<ranges::range_reference_t<const V>>;
(2) β since C++23.
Returns an iterator to the first element of the join_with_view. π«Ά
Let base_ denote the underlying view:
- Equivalent to
return /*iterator*/<true>{*this, ranges::begin(base_)};ifVandPatterneach model__SimpleViewandranges::range_reference_t<V>is a reference type; otherwise equivalent toreturn /*iterator*/<false>{*this, ranges::begin(base_)};. - Equivalent to
return /*iterator*/<true>{*this, ranges::begin(base_)};.
β¨ Parameters β¨
(none)β literally no parameters, bestie. π
β¨ Return value β¨
An iterator to the first element of the join_with_view, as described above. Thatβs the whole return-value vibe. π
β¨ Example β¨
This section is incomplete.
Reason: no example
β¨ See also β¨
end(C++23)β returns an iterator or a sentinel to the end (public member function)ranges::begin(C++20)β returns an iterator to the beginning of a range (customization point object)
β¨ Category β¨
* Todo no example
source/version/date sign-off: http://cppreference.com, 2024.06.10, std::ranges...view::begin(3) β mwah ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms