Template Struct is_specialization

Base Type

  • public std::false_type

template<class T, template<class...> class TemplateT>
struct is_specialization : public std::false_type

Tests whether or not a type is a specialization of a template. i.e. is_specialization<std::atomic<int>, std::atomic> == true

Template Parameters
  • T – The type to test

  • TemplateT – The base template to test against

Previous Template Struct extract_value_type< ClassT< T, ArgsT… > >
Next Template Struct is_specialization< TemplateT< ArgsT… >, TemplateT >
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.