GSP
Quick Navigator

Search Site

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

Support
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
deductionguidesforstd::ranges::take_view(3) C++ Standard Libary deductionguidesforstd::ranges::take_view(3)

deductionguidesforstd::ranges::take_view - deductionguidesforstd::ranges::take_view


Defined in header <ranges>
template< class R >
take_view( R&&, ranges::range_difference_t<R> ) -> (since C++20)
take_view<views::all_t<R>>;


The deduction guide is provided for std::ranges::take_view to allow deduction from
range and number of elements.


If R is a view, the deduced type is ranges::take_view<R>; otherwise, the deduced
type is usually ranges::take_view<ranges::ref_view<R>>.


This section is incomplete
Reason: no example


Defect Reports


The following behavior-changing defect reports were applied retroactively to
previously published C++ standards.


DR Applied to Behavior as published Correct behavior
the template parameter R is R is unconstrained
LWG 3447 C++20 constrained with range (but range_difference_t requires
range)

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