Document Generic/Template Parameters [DI20] [WHAT]

Document Generic/Template Parameters [DI20] [WHAT]

Tip DI20

Some programming languages support functions that can act as “templates” for “generically” operating on a wide variety of types. These functions have “generic” or “template” parameters. Since these are inputs that are important to understand for calling a function, it’s important they are documented (documentation generator styles often have specific tags for these).

See the following:

Code More Meet Less Ad.png