dtor

Make a destructor in a UML class diagram.

  1. auto dtor(T m, Flag!"isVirtual" isVirtual, string class_name)
    @safe
    dtor
    (
    T
    )
    (
    T m
    ,
    Flag!"isVirtual" isVirtual
    ,
    string class_name
    )
    if (
    CanHaveMethod!T
    )
  2. auto dtor(T m, string class_name)

Parameters

m
Type: T

?

isVirtual
Type: Flag!"isVirtual"

if evaluated to true prepend with virtual.

class_name
Type: string

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

Examples

auto m = new PlantumlModule;
auto class_ = m.classBody("Foo");
class_.dtor(Yes.isVirtual, "Foo");

Meta