inline-c-cpp-0.3.0.2: Lets you embed C++ code into Haskell.

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

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.

Emits an using directive, e.g.

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