refl-cpp
refl::trait::is_instance_of< T, U > Struct Template Reference

Detects whther the type U is a template specialization of T. More...

#include <refl.hpp>

Detailed Description

template<template< typename... >typename T, typename U>
struct refl::trait::is_instance_of< T, U >

Detects whther the type U is a template specialization of T.

(e.g. is_instance_of<std::vector<>, std::vector<int>>) Inherits from std::bool_constant<>.

is_instance_of<type_list, type_list<int>>::value -> true
is_instance_of<type_list, std::tuple<int>>::value -> false

The documentation for this struct was generated from the following file: