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