All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
If< IF, ThenType, ElseType > Struct Template Reference

Detailed description

template< bool IF, typename ThenType, typename ElseType>
struct If< IF, ThenType, ElseType >

Type selection (IF ? ThenType : ElseType)

[Since 1.16.0] The cub::If APIs are deprecated. Use cub::detail::conditional_t instead.

Public Types

using Type = cub::detail::conditional_t< IF, ThenType, ElseType >

Member Typedef Documentation

template<bool IF, typename ThenType , typename ElseType >
using If< IF, ThenType, ElseType >::Type = cub::detail::conditional_t<IF, ThenType, ElseType>

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