boilerplate v1.7.7 (2022-06-02T13:54:48Z)
Dub
Repo
getUDADefaultOrNothing
boilerplate
constructor
Undocumented in source.
template
getUDADefaultOrNothing (
T
attributes
...
) {
template
udaIndex
(alias attr, attributes...)
via
public
import
boilerplate
.
util
:
udaIndex
;
;
template
EnumTest
()
;
static if
(
udaIndex!(This.Default, attributes) == -1
)
enum
getUDADefaultOrNothing
;
static if
(!(
udaIndex!(This.Default, attributes) == -1
))
static if
(
__traits(isSame, attributes[udaIndex!(This.Default, attributes)], This.Default)
)
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!())
)
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