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

std::ranges::chunk_by_view::chunk_by_view - std::ranges::chunk_by_view::chunk_by_view


chunk_by_view()


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


= default;
constexpr explicit chunk_by_view( V base, Pred pred ); (2) (since C++23)


Constructs a chunk_by_view.


1) Default constructor. Value-initializes the underlying data members via their
respective default member initializers:
* the view base_ via = V(),
* the binary predicate pred_ via = Pred().
2) Move constructs the underlying data members:
* the view base_ with std::move(base),
* the binary predicate pred_ with std::move(pred).


base - the view to split
pred - the function object (a binary predicate) used as a splitting criteria


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.