SUNphi  1.0
Map.hpp File Reference

Provides a map with char key. More...

#include <cstring>
#include <map>

Go to the source code of this file.

Classes

struct  SUNphi::CStringComparer
 Object incapsulating the comparison operator between two c strings. More...
 

Typedefs

template<typename T >
using SUNphi::MapWithCStrKey = std::map< const char *, T, CStringComparer >
 A map which can be safely used with a c-string.
 

Detailed Description

Provides a map with char key.

Be careful, use it only with static key! The key is actually a const char*: the pointing string is not copied, so it must be accessible for the whole time needed

Definition in file Map.hpp.