vson ~master (2015-03-22T05:30:36Z)
Dub
Repo
isNonStaticMember
vson
meta
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
vson
meta
traits
functions
Tgen
areConvertibleTo
templates
baseInterface
isNonStaticMember
isOpApplyDg
isPropertyGetter
isPropertySetter
isPublicMember
isRWField
isRWPlainField
Tests if a member requires this to be used.