folly::is_instantiation_of_v

is_instantiation_of_v is_instantiation_of instantiated_from uncvref_instantiated_from

Synopsis

Declared in <folly/Traits.h>

template<
    template<typename...> typename,
    typename>
inline constexpr bool is_instantiation_of_v = false;

Description

A trait variable and type to check if a given type is an instantiation of a class template. And corresponding concepts.

Note that this only works with type template parameters. It does not work with non-type template parameters, template template parameters, or alias templates.