ae v0.0.1894 (2017-02-27T08:30:32Z)
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
I
IsDebug
functions
identity
manifest constants
HAVE_UDA
isDebug
mixin templates
FieldList
GenerateContructorProxies
properties
enumIota
isHomogenous
singleton
structFields
static functions
findParameter
templates
ArrayToTuple
CTIterate
GenFieldList
RangeTuple
RangeTupleImpl
ResizeNumericType
SignedBitsType
UnsignedBitsType
ValueTuple
enumLength
expand
findValueOfTypeInTuple
getAttribute
hasAttribute
isValueOfTypeInTuple
isVersion
stringofArray
structFun
thisOf
valueBits
Detects types and values of the given type