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 2023, NVIDIA. Last updated on Feb 2, 2024.