Public Types | List of all members
cudf::test::AllSame Struct Reference

Indicates if all types in a list are identical. More...

#include <type_list_utilities.hpp>

Public Types

template<class... ITEMS>
using Call = detail::AllSame< ITEMS... >
 Invoked as predicate for RemoveIf. More...
 

Detailed Description

Indicates if all types in a list are identical.

This is useful as a predicate for RemoveIf.

Example:

// AllSame::Call<Types<int, int, int>> == true_type
// AllSame::Call<Types<float, bool>> == false_type
// Used as a predicate
RemoveIf<AllSame, Types<Types<int, int, int>>> == Types<>
RemoveIf<AllSame, Types<Types<int, float, int>>> == Types<Types<int, float,
*int>>

Definition at line 328 of file type_list_utilities.hpp.

Member Typedef Documentation

◆ Call

template<class... ITEMS>
using cudf::test::AllSame::Call = detail::AllSame<ITEMS...>

Invoked as predicate for RemoveIf.

Template Parameters
ITEMSThe type to check if they are all same

Definition at line 335 of file type_list_utilities.hpp.


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