CUB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Types | Public Methods | Public Members | List of all members
cub::KeyValuePair< _Key, _Value > Struct Template Reference

Detailed description

template< typename _Key, typename _Value>
struct cub::KeyValuePair< _Key, _Value >

A key identifier paired with a corresponding value.

Definition at line 506 of file util_type.cuh.

Public Types

typedef _Key Key
 Key data type.
 
typedef _Value Value
 Value data type.
 

Public Methods

__host__ __device__
__forceinline__ bool 
operator!= (const KeyValuePair &b)
 Inequality operator.
 

Public Members

union {
   Key   key
 Item key.
 
   UnitWord< Value >::DeviceWord   align0
 Alignment/padding (for Win32 consistency between host/device)
 
}; 
 
Value value
 Item value.
 

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