makeFuncInterface

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

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

Parameters

r
Type: Tr

InputRange of functions the class is intended to wrap.

name
Type: CppClassName

the name of the class.

ns
Type: CppNsStack

namespace the class reside in

Meta