deductiongu...in_with_view(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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:

  1. The delimiter is a range of elements.
  2. 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