mc2lib
|
Helper class to instantiate types used by Set, Relation, etc. More...
#include <sets.hpp>
Public Types | |
typedef E | Element |
typedef std::unordered_set< Element, Hash > | SetContainer |
template<class T > | |
using | MapContainer = std::unordered_map< Element, T, Hash > |
Helper class to instantiate types used by Set, Relation, etc.
Set, Relation, etc. take a template parameter that provides Element, and SetContainer or MapContainer; this class can be used to instantiate a class to be passed as the template parameter to Set and Relation.
typedef E mc2lib::sets::Types< E, Hash >::Element |
using mc2lib::sets::Types< E, Hash >::MapContainer = std::unordered_map<Element, T, Hash> |
typedef std::unordered_set<Element, Hash> mc2lib::sets::Types< E, Hash >::SetContainer |