cpp/experimental/ranges/utility/tagged

The class template augments a tuple-like class type, which it publicly derives from, with a set of named accessors specified by the tag specifiers. The tags are applied in order: the i-th tag specifier in correspond to the i-th element of the tuple.

The tag specifiers in shall be unique. Otherwise, the behavior is undefined.

It is not possible to delete an instance of through a pointer to any base other than.

Named element accessors
For the N-th tag specifier in whose corresponding element name is name,  provides accessors named name as follows: