Experimental library header <experimental/ranges/tuple>

From cppreference.com
< cpp‎ | header‎ | experimental
 
 
 
Experimental library headers
Filesystem TS
<experimental/filesystem>
Parallelism TS (v1, v2)
Library Fundamentals TS (v1, v2, v3)
Concurrency TS
Ranges TS
Coroutines TS
<experimental/coroutine>
Networking TS
Reflection TS
<experimental/reflect>
 

This header is part of the ranges library.

Tagged tuples

Defined in namespace std::experimental::ranges
alias template for a tagged std::tuple
(alias template)
convenience function for creating a tagged_tuple
(function template)

Synopsis

namespace std { namespace experimental { namespace ranges { inline namespace v1 {
 
template <TaggedType... Types>
using tagged_tuple = tagged<tuple</* TAGELEM */(Types)...>,
                            /* TAGSPEC */(Types)...>;
 
template <TagSpecifier... Tags, class... Types>
  requires sizeof...(Tags) == sizeof...(Types)
    constexpr /* see definition */ make_tagged_tuple(Types&&... t);
 
}}}}