C++ named requirements: TransformationTrait (since C++11)
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
C++ named requirements
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++17)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++17)
(C++20)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++14)
(C++14)
(C++11)
(C++11)
(C++17)
(C++14)
(C++20)
(C++20)
(C++23)
(C++23)
(C++23)
(C++11)
(C++11)
TransformationTrait
(C++11)
(C++11)
(C++11)
A TransformationTrait is a class template that provides a transformation of its template type parameter.
[edit] Requirements
- Takes one template type parameter (additional template parameters are optional and allowed).
- The transformed type is a publicly accessible nested type named type.
[edit] Standard library
All type transformation traits satisfy TransformationTrait.
The following standard library class templates also satisfy TransformationTrait.
obtains the type of the alternative specified by its index, at compile time
(class template) (alias template)[edit]
(class template) (alias template)[edit]