Kudu C++ client API
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | List of all members
kudu::SliceMap< T > Struct Template Reference

STL map whose keys are Slices. More...

#include <slice.h>

Public Types

typedef std::map< Slice, T,
Slice::Comparator
type
 A handy typedef for the slice map with appropriate comparison operator.
 

Detailed Description

template<typename T>
struct kudu::SliceMap< T >

STL map whose keys are Slices.

An example of usage:

typedef SliceMap<int>::type MySliceMap;
MySliceMap my_map;
my_map.insert(MySliceMap::value_type(a, 1));
my_map.insert(MySliceMap::value_type(b, 2));
my_map.insert(MySliceMap::value_type(c, 3));
for (const MySliceMap::value_type& pair : my_map) {
...
}

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