std::experi...agged_tuple(3)
π std::experi...agged_tuple(3) π
okay bestie, welcome to the <std::experi...agged_tuple(3)> page from the C++ Standard Libary manual β yes, the title is literally truncated like that, and no, we are not fixing it π. This is the little corner of the group chat where tagged tuples get made. β¨
β¨ NAME β¨
std::experimental::ranges::make_tagged_tuple β literally std::experimental::ranges::make_tagged_tuple. The NAME section said it twice, so we're keeping both, periodt π
.
πΈ Synopsis πΈ
Defined in header <experimental/ranges/tuple>:
template< TagSpecifier... Tags, class... Types >
requires sizeof...(Tags) == sizeof...(Types)
(ranges TS)
constexpr ranges::tagged</*see below*/, Tags...> make_tagged_tuple(
Types&&... t );
This is the ranges TS version, and the vibe check is: it's a convenience function for creating a tagged tuple, 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_tuple(std::forward<Types>(t)...)).
π Return value π
R(std::forward<Types>(t)...), where R is the return type. That's it, that's the return, no cap π.
π¦ See also π¦
TaggedTypeβ specifies that a type represents a tag specifier and its element type (concept)taggedβ augument (their spelling, not mine π ) a tuple-like type with named accessors (class template)tagged_pairβ alias template for a taggedstd::pair(alias template)make_tagged_pairβ convenience function for creating atagged_pair(function template)tagged_tupleβ alias template for a taggedstd::tuple(alias template)in,in1,in2,out,out1,out2,fun,min,max,begin,endβ tag specifiers for use withranges::tagged(class)
that's the whole page bestie π«Ά source/version: http://cppreference.com; date: 2024.06.10 β catch you in the next manpage π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms