EnTT 3.15.0
Loading...
Searching...
No Matches
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
TypeTypes provided by the first type list.
OtherTypes 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: