ae v0.0.2177 (2018-04-10T20:33:51Z)
Home
Dub
Repo
hasAttribute
ae
utils
meta
Detects types and values of the given type
template
hasAttribute
(Args...)
static if
(
HAVE_UDA
)
template
hasAttribute (
Args
...
)
if
(
Args
.
length
== 2
) {
import
std
.
typetuple
:
staticIndexOf
;
;
import
std
.
traits
:
staticMap
;
;
template
isTypeOrValueInTuple
(T, Args...)
;
static if
(
HAVE_UDA
)
static if
(
is(Args[0])
)
enum
bool
hasAttribute
;
static if
(
HAVE_UDA
)
static if
(!(
is(Args[0])
))
enum
bool
hasAttribute
;
}
template
hasAttribute
(T, alias D)
Members
Templates
isTypeOrValueInTuple
template
isTypeOrValueInTuple
(T, Args...)
Undocumented in source.
Variables
hasAttribute
enum
bool
hasAttribute
;
Undocumented in source.
hasAttribute
enum
bool
hasAttribute
;
Undocumented in source.
Meta
Source
See Implementation
ae
utils
meta
modules
args
binding
binding_v1
caps
chain
misc
proxy
reference
x
aliases
EnumLength
ExpandNumericType
GenerateContructorProxies
I
IsDebug
functions
classInit
identity
prog1
progn
manifest constants
HAVE_UDA
isDebug
mixin templates
FieldList
GenerateConstructorProxies
properties
enumIota
isHomogenous
singleton
structFields
static functions
findParameter
templates
ArrayToTuple
CTIterate
GenFieldList
RangeTuple
RangeTupleImpl
ResizeNumericType
SignedBitsType
TryExpandNumericType
UnsignedBitsType
ValueTuple
enumLength
expand
findValueOfTypeInTuple
functor
getAttribute
hasAttribute
isValueOfTypeInTuple
isVersion
stringofArray
structFun
thisOf
valueBits
Detects types and values of the given type