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, auto ref T args)

Parameters

m
Type: T

?

return_type
Type: string

?

name
Type: string

name of the class to create a d'tor for

isConst
Type: Flag!"isConst"

?

Meta