method

Make a method that takes no parameters in a UML class diagram.

A helper function to get the representation of virtual, const etc correct.

  1. auto method(T m, string txt)
  2. auto method(T m, Flag!"isVirtual" isVirtual, string return_type, string name, Flag!"isConst" isConst)
    @safe
    method
    (
    T
    )
    (
    T m
    ,
    Flag!"isVirtual" isVirtual
    ,,
    string name
    ,
    Flag!"isConst" isConst
    )
    if (
    CanHaveMethod!T
    )
  3. auto method(T m, Flag!"isVirtual" isVirtual, string return_type, string name, Flag!"isConst" isConst, T args)

Parameters

m T

?

return_type string

?

name string

name of the class to create a d'tor for

isConst Flag!"isConst"

?

Meta