OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
cub::KeyValuePair< _Key, _Value > Struct Template Reference

A key identifier paired with a corresponding value. More...

Detailed Description

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

A key identifier paired with a corresponding value.

Definition at line 666 of file util_type.cuh.

Public Types

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

Public Member Functions

__host__ __device__ __forceinline__ KeyValuePair ()
 Constructor.
 
__host__ __device__ __forceinline__ KeyValuePair (Key const &key, Value const &value)
 Constructor.
 
__host__ __device__ __forceinline__ bool operator != (const KeyValuePair &b)
 Inequality operator.
 

Data Fields

Key key
 Item key.
 
Value value
 Item value.
 

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