|
rocPRIM
|
Convenience struct that allows you to store key-value pairs as a composite entity. More...
#include <key_value_pair.hpp>
Public Types | |
| using | Key = Key_ |
| using | Value = Value_ |
| using | key_type = Key_ |
| the key's type | |
| using | value_type = Value_ |
| the value's type | |
Public Member Functions | |
| ROCPRIM_HOST_DEVICE | key_value_pair (const key_type key, const value_type value) |
| Constructs a key-value pair using the supplied values. | |
| ROCPRIM_HOST_DEVICE bool | operator!= (const key_value_pair &kvb) |
| Returns true if the given key-value pair is not equal to this one. More... | |
Public Attributes | |
| key_type | key |
| the stored key | |
| value_type | value |
| the stored value | |
Convenience struct that allows you to store key-value pairs as a composite entity.
|
inline |
Returns true if the given key-value pair is not equal to this one.
Otherwise returns false.
1.8.13