boilerplate v1.9.1 (2023-03-14T14:32:34Z)
Dub
Repo
getUDADefaultOrNothing
boilerplate
constructor
Undocumented in source.
public
template
getUDADefaultOrNothing (
T
attributes
...
) {
template
udaIndex
(alias attr, attributes...)
via
public
import
boilerplate
.
util
:
udaIndex
;
;
template
EnumTest
()
;
public
static if
(
udaIndex!(This.Default, attributes) == -1
)
enum
getUDADefaultOrNothing
;
public
static if
(!(
udaIndex!(This.Default, attributes) == -1
))
static if
(
__traits(isSame, attributes[udaIndex!(This.Default, attributes)], This.Default)
)
enum
getUDADefaultOrNothing
;
public
static if
(!(
udaIndex!(This.Default, attributes) == -1
))
static if
(!(
__traits(isSame, attributes[udaIndex!(This.Default, attributes)], This.Default)
))
static if
(
__traits(compiles, EnumTest!())
)
enum
getUDADefaultOrNothing
;
static if
(!(
udaIndex!(This.Default, attributes) == -1
))
static if
(!(
__traits(isSame, attributes[udaIndex!(This.Default, attributes)], This.Default)
))
static if
(!(
__traits(compiles, EnumTest!())
))
static
auto
getUDADefaultOrNothing
[@property getter];
}
Members
Manifest constants
getUDADefaultOrNothing
enum
getUDADefaultOrNothing
;
Undocumented in source.
getUDADefaultOrNothing
enum
getUDADefaultOrNothing
;
Undocumented in source.
getUDADefaultOrNothing
enum
getUDADefaultOrNothing
;
Undocumented in source.
Properties
getUDADefaultOrNothing
auto
getUDADefaultOrNothing
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Templates
EnumTest
template
EnumTest
()
Undocumented in source.
udaIndex (from boilerplate.util)
template
udaIndex
(alias attr, attributes...)
via
public
import
boilerplate
.
util
:
udaIndex
;
Undocumented in source.
Meta
Source
See Implementation
boilerplate
constructor
enums
ThisEnum
functions
filterCanFind
mapFormat
mixin templates
GenerateThisTemplate
structs
S
T
This
templates
ConstructorField
getUDADefaultOrNothing
saveConstructorInfo
variables
GenerateThis