aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
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
Definition: Allocator.h:10
Definition: TypeTraits.h:19