refl-cpp |

refl::trait::contains_instance< T, type_list< Ts... > > Struct Template Reference

Checks whether an instance of the template T is contained in the list of types. More...

`#include <refl.hpp>`

## Detailed Description

### template<template< typename... > typename T, typename... Ts>
struct refl::trait::contains_instance< T, type_list< Ts... > >

Checks whether an instance of the template T is contained in the list of types.

Inherits from std::bool_constant<>.

contains_instance<std::tuple, type_list<int, float, std::tuple<short, double>>>::value -> true
contains_instance<std::vector, type_list<int, float, std::tuple<short, double>>>::value -> false

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

- include/refl.hpp