kwargs ~master (2019-02-20T14:32:39Z)
Dub
Repo
kwargify
kwargs
compile_time
Undocumented in source.
template
kwargify (
alias
Function
Parameters
...
)
if
(
__traits(
isTemplate
,
Function
) &&
Parameters
.
length
> 0
) {
import
std
.
meta
:
Filter
,
staticIndexOf
;
;
import
std
.
meta
:
Filter
,
staticIndexOf
;
;
eponymoustemplate
isRequired
(alias T)
;
alias
required
=
Filter
!(
isRequired
,
Parameters
)
;
eponymoustemplate
isOptional
(alias T)
;
alias
optional
=
Filter
!(
isOptional
,
Parameters
)
;
auto
impl
();
alias
kwargify
=
impl
;
}
Members
Aliases
kwargify
alias
kwargify
=
impl
Undocumented in source.
optional
alias
optional
=
Filter
!(
isOptional
,
Parameters
)
Undocumented in source.
required
alias
required
=
Filter
!(
isRequired
,
Parameters
)
Undocumented in source.
Enums
isOptional
eponymoustemplate
isOptional
(alias T)
Undocumented in source.
isRequired
eponymoustemplate
isRequired
(alias T)
Undocumented in source.
Functions
impl
auto
impl
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
kwargs
compile_time
structs
Optional
Required
templates
kwargify