AWS IoT Device SDK C++ v2  1.36.0
AWS IoT Device SDK C++ v2
TypeTraits.h
Go to the documentation of this file.
1 #pragma once
2 
7 #include <type_traits>
8 
9 namespace Aws
10 {
11  namespace Crt
12  {
19  template <typename T, template <typename...> class Primary> struct IsSpecializationOf : std::false_type
20  {
21  };
22 
23  /* Specialization for the case when the first template parameter is a template specialization of the second
24  * template parameter. */
25  template <template <typename...> class Primary, typename... Args>
26  struct IsSpecializationOf<Primary<Args...>, Primary> : std::true_type
27  {
28  };
29  } // namespace Crt
30 } // namespace Aws
Aws
Definition: Allocator.h:11
Aws::Crt::IsSpecializationOf
Definition: TypeTraits.h:20