table of contents
std::experimental::ranges::make_tagged_pair(3) | C++ Standard Libary | std::experimental::ranges::make_tagged_pair(3) |
NAME¶
std::experimental::ranges::make_tagged_pair - std::experimental::ranges::make_tagged_pair
Synopsis¶
Defined in header <experimental/ranges/utility>
template< TagSpecifier Tag1, TagSpecifier Tag2, class T1, class T2>
constexpr ranges::tagged</*see below*/, Tag1, Tag2> (ranges TS)
make_tagged_pair(T1&& x, T2&& y);
Convenience function for creating a tagged pair, deducing the element types
from the
arguments (the tag specifiers must be explicitly specified).
The see below portion of the return type is
decltype(std::make_pair(std::forward<T1>(x),
std::forward<T2>(y))).
Return value¶
R(std::forward<T1>(x), std::forward<T2>(y)), where R is the return type.
See also¶
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)
tagged_pair alias template for a tagged std::pair
(alias 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 |