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

std::experimental::ranges::tagged_pair - std::experimental::ranges::tagged_pair


Defined in header <experimental/ranges/utility>
template< TaggedType T1, TaggedType T2 > (ranges TS)
using tagged_pair = /* see below */;


Convenience alias template for naming a ranges::tagged wrapping a std::pair.


A TaggedType is a function type S(T), where S is a TagSpecifier and T is the type of
the element.


tagged_pair<S1(T1), S2(T2)> is an alias for ranges::tagged<std::pair<T1, T2>, S1,
S2>.


Because a function type is used to "glue" the tag specifier and the corresponding
element type together, the usual parameter type adjustments apply. In particular,
top-level cv-qualifiers are removed and array types are adjusted to pointers:
tagged_pair<tag::in(const int* const), tag::out(int[])> is
ranges::tagged<std::pair<const int*, int*>, tag::in, tag::out>.


specifies that a type represents a tag specifier and its element
TaggedType type
(concept)
tagged augument a tuple-like type with named accessors
(class template)
make_tagged_pair convenience function for creating a tagged_pair
(function template)
tagged_tuple alias template for a tagged std::tuple
(alias template)
make_tagged_tuple convenience function for creating a tagged_tuple
(function template)
in
in1
in2
out
out1 tag specifiers for use with ranges::tagged
out2 (class)
fun
min
max
begin
end

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.