ae ~master (2024-01-05T13:09:51Z)
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
ArrayToTuple
BoxedVoid
EnumLength
ExpandNumericType
GenerateContructorProxies
HAVE_UDA
I
IsDebug
RangeTuple
ValueTuple
isHomogenous
functions
and
boxVoid
classInit
has
identity
or
prog1
progn
tupleMap
unboxVoid
voidStruct
manifest constants
isDebug
mixin templates
FieldList
GenerateConstructorProxies
properties
enumIota
isHomogeneous
singleton
structFields
static functions
findParameter
structs
Has
StructFromParams
templates
AllMembers
BoxVoid
CTIterate
ParameterNames
ResizeNumericType
SignedBitsType
TryExpandNumericType
UnsignedBitsType
_rangeTupleImpl
apply
arrayToTuple
enumLength
expand
findValueOfTypeInTuple
functor
getAttribute
hasAttribute
isValueOfTypeInTuple
isVersion
rangeTuple
stringofArray
structFun
thisOf
valueBits
valueTuple
variables
haveCommonType
Detects types and values of the given type.