boilerplate v1.2.5 (2018-09-27T13:15:56Z)
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
GetMemberTypeAsString_
GetSuperTypeAsString_
MemberAttributes_
MemberDefault_
MemberUseDefault_
SuperAttributes_
SuperDefault_
SuperUseDefault_
ThisEnum
mixin templates
GenerateThisTemplate
structs
This
templates
ConstructorField
getUDADefaultOrNothing
saveConstructorInfo
variables
GenerateThis