21 #ifndef ROCPRIM_TYPES_KEY_VALUE_PAIR_HPP_    22 #define ROCPRIM_TYPES_KEY_VALUE_PAIR_HPP_    24 #include "../config.hpp"    29 BEGIN_ROCPRIM_NAMESPACE
    38     #ifndef DOXYGEN_SHOULD_SKIP_THIS    49     ROCPRIM_HOST_DEVICE 
inline    52     ROCPRIM_HOST_DEVICE 
inline    56     ROCPRIM_HOST_DEVICE 
inline    63     ROCPRIM_HOST_DEVICE 
inline    66         return (key != kvb.
key) || (value != kvb.
value);
    75 #endif // ROCPRIM_TYPES_KEY_VALUE_PAIR_HPP_ Value_ value_type
the value's type 
Definition: key_value_pair.hpp:44
ROCPRIM_HOST_DEVICE bool operator!=(const key_value_pair &kvb)
Returns true if the given key-value pair is not equal to this one. 
Definition: key_value_pair.hpp:64
value_type value
the stored value 
Definition: key_value_pair.hpp:47
key_type key
the stored key 
Definition: key_value_pair.hpp:46
Convenience struct that allows you to store key-value pairs as a composite entity. 
Definition: key_value_pair.hpp:36
Key_ key_type
the key's type 
Definition: key_value_pair.hpp:43
ROCPRIM_HOST_DEVICE key_value_pair(const key_type key, const value_type value)
Constructs a key-value pair using the supplied values. 
Definition: key_value_pair.hpp:57