C++ Language/Templates/Metaprogramming/CollectionOfTypes

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Some template-metafunctions may compute a type (or even a collection of types) as their template-metareturn. For these template-metafunctions, the established convention is to name that result type (a nested type alias).

Additional information about a template-metafunction computing a collection of types (includes interactive examples)