Standard library header <experimental/ranges/tuple>

From cppreference.com
< cpp‎ | header
 
 
 

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);
 
}}}}