| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Foreign.Hoppy.Generator.Std.UnorderedMap
Description
Bindings for std::unordered_map.
Synopsis
Documentation
Options for instantiating the map classes.
Constructors
| Options | |
Fields
| |
defaultOptions :: Options Source #
The default options have no additional ClassFeatures.
A set of instantiated map classes.
Constructors
| Contents | |
Fields
| |
instantiate :: String -> Type -> Type -> Reqs -> Contents Source #
instantiate className k v reqs creates a set of bindings for an
instantiation of std::unordered_map<k, v> and associated types (e.g. iterators).
In the result, the c_map class has an external name of className, and the
iterator classes are further suffixed with "Iterator" and
"ConstIterator" respectively.
instantiate' :: String -> Type -> Type -> Reqs -> Options -> Contents Source #
instantiate with additional options.