ae.utils.meta.args

Named method and struct literal arguments

Members

Templates

args
template args(alias fun, dgs...)

Simulates named arguments for function calls. Accepts arguments as lambdas (name => value) on the template parameter list, and positional arguments on the runtime parameter list (see examples below).

args
template args(S, dgs...)

Simulates named arguments for struct literals.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>