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

std::experimental::ranges::View - std::experimental::ranges::View


Defined in header <experimental/ranges/range>
template <class T>


concept bool View = Range<T> && Semiregular<T> (ranges TS)


&& /* view-predicate<T> */;
template<class T> (ranges TS)
struct enable_view {};
struct view_base {}; (ranges TS)


The concept View<T> specifies the semiregular range T has constant-time copy, move,
and assignment operations.


The /* view-predicate<T> */ portion of the concept is determined as follows:


* if the qualified-id ranges::enable_view<T>::type is valid and denotes a type,
ranges::enable_view<T>::type::value;
* otherwise, if std::is_base_of_v<ranges::view_base, T> is true, true;
* otherwise, if T is a specialization of std::initializer_list, std::set,
std::multiset, std::unordered_set, or std::unordered_multiset, false;
* otherwise, if both T and const T satisfy Range and ranges::reference_t
<ranges::iterator_t<T>> is not the same type as
ranges::reference_t<ranges::iterator_t<const T>>, false;
* otherwise, true.

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.