GSP
Quick Navigator

Search Site

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

Support
Customer Portal
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::join_with_view::join_with_view(3) C++ Standard Libary std::ranges::join_with_view::join_with_view(3)

std::ranges::join_with_view::join_with_view - std::ranges::join_with_view::join_with_view


join_with_view()


requires std::default_initializable<V> && (1) (since C++23)


std::default_initializable<Pattern> = default;
constexpr explicit join_with_view( V base, Pattern pattern ); (2) (since C++23)
template< ranges::input_range R >


requires std::constructible_from<V, views::all_t<R>> &&
std::constructible_from<Pattern,
ranges::single_view<ranges::range_value_t<
(3) (since C++23)
ranges::range_reference_t<V>>>>
constexpr explicit
join_with_view( R&& r, ranges::range_value_t<


ranges::range_reference_t<V>> e );


Constructs a join_with_view.


1) Default constructor. Value-initializes the underlying view and the pattern.
2) Initializes the underlying view with std::move(base) and the stored pattern with
std::move(pattern).
3) Initializes the underlying view with views::all(std::forward<R>(r)) and the
stored pattern with views::single(std::move(e)).


base - a view of ranges to be flattened
pattern - view to be used as the delimiter
e - element to be used as the delimiter


This section is incomplete
Reason: no example


* Todo no example

2024.06.10 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.