ae v0.0.2384 (2019-04-14T19:37:57Z)
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
rcclass
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