mirror ~master (2021-09-30T14:57:21Z)
Dub
Repo
isStaticMemberFunction
mirror
meta
traits
If a function is static member function
template
isStaticMemberFunction (
alias
F
) {
import
std
.
traits
:
hasStaticMember
;
;
static if
(
__traits(compiles, hasStaticMember!(__traits(parent, F), __traits(identifier, F)))
)
enum
isStaticMemberFunction
;
static if
(!(
__traits(compiles, hasStaticMember!(__traits(parent, F), __traits(identifier, F)))
))
enum
isStaticMemberFunction
;
}
Members
Manifest constants
isStaticMemberFunction
enum
isStaticMemberFunction
;
Undocumented in source.
isStaticMemberFunction
enum
isStaticMemberFunction
;
Undocumented in source.
Meta
Source
See Implementation
mirror
meta
traits
aliases
RecursiveFieldTypes
enums
BinOpDir
isClass
isEnum
isInterface
isOOP
isStruct
isUnion
functions
add
functionName
structs
BinaryOperator
templates
AssignOperators
BinaryOperators
Field
Fields
FundamentalType
MemberFromName
MemberFunctionsByOverload
NumDefaultParameters
NumRequiredParameters
Parameter
Parameters
PublicFieldNames
PublicMembers
RecursiveTypeTree
UnaryOperators
isMutableSymbol
isParameter
isPrivate
isProperty
isStaticMemberFunction
isVariable
memberIsRegularFunction
memberIsSomeFunction
moduleOf
If a function is static member function