Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Foreign.Hoppy.Generator.Std.Pair
Description
Bindings for std::pair
.
Synopsis
Documentation
Options for instantiating pair
.
Constructors
Options | |
Fields
|
defaultOptions :: Options Source #
The default options have no additional ClassFeature
s.
A set of instantiated pair classes.
instantiate :: String -> Type -> Type -> Reqs -> Contents Source #
instantiate className a b reqs
creates a set of bindings for an
instantiation of std::pair<a, b>
. In the result, the c_pair
class has
an external name of className
.
instantiate' :: String -> Type -> Type -> Reqs -> Options -> Contents Source #
instantiate
with additional options.