ae v0.0.3106 (2021-11-28T15:35:14Z)
Home
Dub
Repo
hasAttribute
ae
utils
meta
Detects types and values of the given type.
template
hasAttribute
(Args...)
static if
(
haveUDA
)
template
hasAttribute (
Args
...
)
if
(
Args
.
length
== 2
) {
import
std
.
typetuple
:
staticIndexOf
;
;
import
std
.
traits
:
staticMap
;
;
template
_isTypeOrValueInTuple
(T, Args...)
;
static if
(
haveUDA
)
static if
(
is(Args[0])
)
enum
bool
hasAttribute
;
static if
(
haveUDA
)
static if
(!(
is(Args[0])
))
enum
bool
hasAttribute
;
}
template
hasAttribute
(T, alias D)
Members
Templates
_isTypeOrValueInTuple
template
_isTypeOrValueInTuple
(T, Args...)
Variables
hasAttribute
enum
bool
hasAttribute
;
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
tuplerange
x
aliases
BoxedVoid
EnumLength
ExpandNumericType
GenerateContructorProxies
HAVE_UDA
I
IsDebug
isHomogenous
functions
and
boxVoid
classInit
identity
or
prog1
progn
unboxVoid
manifest constants
isDebug
mixin templates
FieldList
GenerateConstructorProxies
properties
enumIota
isHomogeneous
singleton
structFields
static functions
findParameter
structs
StructFromParams
templates
ArrayToTuple
BoxVoid
CTIterate
RangeTuple
ResizeNumericType
SignedBitsType
TryExpandNumericType
UnsignedBitsType
ValueTuple
_GenFieldList
_RangeTupleImpl
apply
enumLength
expand
findValueOfTypeInTuple
functor
getAttribute
hasAttribute
isValueOfTypeInTuple
isVersion
stringofArray
structFun
thisOf
valueBits
variables
haveCommonType
Detects types and values of the given type.