CppModuleX.dtor

Virtual d'tor.

  1. auto dtor(Flag!"isVirtual" isVirtual, string class_name)
    mixintemplate CppModuleX(T)
    dtor
    (
    Flag!"isVirtual" isVirtual
    ,
    string class_name
    )
  2. auto dtor(string class_name)

Parameters

isVirtual Flag!"isVirtual"

if evaluated to true prepend with virtual.

class_name string

name of the class to create a d'tor for.

Examples

dtor(Yes.isVirtual, "Foo");

Meta