X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b74d0665b597582e5d2c3cad413585c0f2101490..b2edef6f2f587d957eabbc17364382293707340f:/docs/tech/tn0003.txt diff --git a/docs/tech/tn0003.txt b/docs/tech/tn0003.txt index e193c50fe1..8965f44405 100644 --- a/docs/tech/tn0003.txt +++ b/docs/tech/tn0003.txt @@ -253,3 +253,18 @@ Note the use of \docparam to document parameters; and the fact that several overloaded forms of the same member function are documented within the same \membersection. + +Special forms: + +- for a const member function use \constfunc{} instead of \const + +- for a function without parameters use \func{...}{Function}{\void} + +- but do NOT use \void for functions without return value, just "void" + +- for a virtual/static member function use \func{virtual/static ...} + +- omit the return type for constructors: \func{}{MyClass}{...} + +- use \destruct macro for the destructors \func{}{\destruct{MyClass}}{\void} +