deductiongu...in_with_view(3)
π NAME π
Hiii bestie, welcome to the deductiongu...in_with_view(3) page from the C++ Standard Libary β¨
deductionguidesforstd::ranges::join_with_view β yep, literally deductionguidesforstd::ranges::join_with_view. Iconic, no cap π
πΈ Synopsis πΈ
Defined in header <ranges> π«Ά
These deduction guides are provided for join_with_view to allow deduction from a range and a delimiter. The way that works is genuinely so cute:
- The delimiter is a range of elements.
- The delimiter is a single element.
β¨ Guide (1) β since C++23 β¨
The delimiter is a range of elements π
template< class R, class P >
join_with_view( R&&, P&& ) -> join_with_view<views::all_t<R>,
views::all_t<P>>;
π¦ Guide (2) β since C++23 π¦
The delimiter is a single element πΈ
template< class R >
join_with_view( R&&,
ranges::range_value_t<ranges::range_reference_t<R>>
)
-> join_with_view<views::all_t<R>,
ranges::single_view<
ranges::range_value_t<ranges::range_reference_t<R>>>;
π Example π
This section is incomplete.
Reason: no example.
Not me opening the example section just to find no example π itβs giving placeholder energy, fr fr.
π¦ Category π¦
- Todo no example
Thatβs the whole vibe, bestie: source http://cppreference.com, version/date 2024.06.10 ππ§
π¦ 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