dutils-data ~master (2020-05-16T00:04:04Z)
Home
Dub
Repo
isNonStaticMember
dutils
data
utils
traits
Tests if a member requires
this
to be used.
template
isNonStaticMember (
T
string
M
) {
import
std
.
typetuple
;
;
import
std
.
traits
;
;
alias
MF
=
TypeTuple
!(
__traits
(
getMember
,
T
,
M
))
;
static if
(
M.length == 0
)
enum
isNonStaticMember
;
static if
(!(
M.length == 0
))
static if
(
anySatisfy!(isSomeFunction, MF)
)
enum
isNonStaticMember
;
static if
(!(
M.length == 0
))
static if
(!(
anySatisfy!(isSomeFunction, MF)
))
enum
isNonStaticMember
;
}
Members
Aliases
MF
alias
MF
=
TypeTuple
!(
__traits
(
getMember
,
T
,
M
))
Undocumented in source.
Manifest constants
isNonStaticMember
enum
isNonStaticMember
;
Undocumented in source.
isNonStaticMember
enum
isNonStaticMember
;
Undocumented in source.
isNonStaticMember
enum
isNonStaticMember
;
Undocumented in source.
Meta
Source
See Implementation
dutils
data
utils
traits
functions
Tgen
areConvertibleTo
manifest constants
synchronizedIsNothrow
templates
RecursiveFunctionAttributes
StripHeadConst
baseInterface
derivedMethod
isNonStaticMember
isOpApplyDg
isPropertyGetter
isPropertySetter
isPublicMember
isRWField
isRWPlainField
Tests if a member requires this to be used.