inline-c-cpp-0.5.0.0: Lets you embed C++ code into Haskell.
Safe HaskellNone
LanguageHaskell2010

Language.C.Inline.Cpp

Description

Module exposing a Context to inline C++ code. We only have used this for experiments, so use with caution. See the C++ tests to see how to build inline C++ code.

Synopsis

Documentation

cppCtx :: Context Source #

The equivalent of baseCtx for C++. It specifies the .cpp file extension for the C file, so that g++ will decide to build C++ instead of C. See the .cabal test target for an example on how to build.

using :: String -> DecsQ Source #

Emits an using directive, e.g.

C.using "namespace std" ==> using namespace std

data AbstractCppExceptionPtr Source #

Marks an std::exception_ptr. Only used via Ptr.