KaMPIng 0.1.0
(Near) zero-overhead C++ MPI bindings.
|
Type trait to check if a type is an instance of a templated type. More...
#include <data_buffer.hpp>
Type trait to check if a type is an instance of a templated type.
based on https://stackoverflow.com/a/31763111
A little note on how this works:
is_specialization<std::vector<bool, my_alloc>, std::vector>
Template = template<T...> std::vector<T...>
Args... = bool, my_alloc
Template<Args...> = std::vector<bool, my_alloc>
T | The concrete type. |
Template | the type template |
true
if the type is an instance and false
otherwise.