EnTT: entt::type_list_diff< type_list< Type... >, type_list< Other... > > Struct Template Reference

EnTT 3.16.0

Loading...
Searching...
No Matches
Public Types | List of all members
entt::type_list_diff< type_list< Type... >, type_list< Other... > > Struct Template Reference

Computes the difference between two type lists. More...

`#include <type_traits.hpp>`

## Public Types
using | type = type_list_cat_t<std::conditional_t<type_list_contains_v<type_list<Other...>, Type>, type_list<>, type_list<Type>>...>
| A type list that is the difference between the two type lists.

## Detailed Description

template<typename... Type, typename... Other>
struct entt::type_list_diff< type_list< Type... >, type_list< Other... > >

Computes the difference between two type lists.

Template Parameters

  Type | Types provided by the first type list.
  Other | Types provided by the second type list.

Definition at line 325 of file type_traits.hpp.

## Member Typedef Documentation

## ◆ type

template<typename... Type, typename... Other>

using entt::type_list_diff< type_list< Type... >, type_list< Other... > >::type = type_list_cat_t<std::conditional_t<type_list_contains_v<type_list<Other...>, Type>, type_list<>, type_list<Type>>...>

A type list that is the difference between the two type lists.

Definition at line 327 of file type_traits.hpp.

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

- src/entt/core/type_traits.hpp