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);
}}}}Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.