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, auto ref 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
Type: T

?

return_type
Type: string

?

name
Type: string

name of the class to create a d'tor for

isConst
Type: Flag!"isConst"

?

Meta