mirror ~master (2021-09-30T14:57:21Z)
Dub
Repo
MemberFunctionsByOverload
mirror
meta
traits
All member function symbols in T with overloads represented separately.
template
MemberFunctionsByOverload (
T
)
if
(
isStruct
!
T
||
isClass
!
T
||
isInterface
!
T
||
isUnion
!
T
) {
import
mirror
.
meta
.
reflection
:
functionsByOverload
;
;
import
mirror
.
trait_enums
:
Protection
;
;
import
std
.
meta
:
Filter
,
staticMap
;
;
alias
members
=
PublicMembers
!
T
;
alias
overloads
=
functionsByOverload
!(
T
,
members
)
;
alias
MemberFunctionsByOverload
=
Filter
!(
isMemberFunction
,
staticMap
!(
symbolOf
,
Filter
!(
isPublic
,
functionsByOverload
!(
T
,
PublicMembers
!
T
))))
;
}
Members
Aliases
MemberFunctionsByOverload
alias
MemberFunctionsByOverload
=
Filter
!(
isMemberFunction
,
staticMap
!(
symbolOf
,
Filter
!(
isPublic
,
functionsByOverload
!(
T
,
PublicMembers
!
T
))))
Undocumented in source.
members
alias
members
=
PublicMembers
!
T
Undocumented in source.
overloads
alias
overloads
=
functionsByOverload
!(
T
,
members
)
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
All member function symbols in T with overloads represented separately.