makeFuncInterface

Create a C++ interface of funcs in range to allow the user to supply an implementation.

  1. CppClass makeFuncInterface(Tr r, CppClassName main_if)
  2. CppClass makeFuncInterface(Tr r, CppClassName name, CppNsStack ns)
    @safe @trusted
    CppClass
    makeFuncInterface
    (
    Tr
    )
    (
    Tr r
    ,
    CppClassName name
    ,
    CppNsStack ns
    )

Parameters

r Tr

InputRange of functions the class is intended to wrap.

name CppClassName

the name of the class.

ns CppNsStack

namespace the class reside in

Meta