method

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

The parameters are iteratively converted to strings.

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

Parameters

m T

?

return_type string

?

name string

name of the class to create a d'tor for

isConst Flag!"isConst"

?

Meta