mirror ~master (2021-09-30T14:57:21Z)
Dub
Repo
BinaryOperators
mirror
meta
traits
An AliasSeq of BinaryOperator structs for type T, one for each binary operator.
template
BinaryOperators (
T
) {
import
std
.
meta
:
staticMap
,
Filter
,
AliasSeq
;
;
import
std
.
traits
:
hasMember
;
;
alias
ops
=
Filter
!(
hasOperator
,
overloadable
)
;
template
toBinOp
(string op)
;
alias
BinaryOperators
=
staticMap
!(
toBinOp
,
ops
)
;
alias
BinaryOperators
=
AliasSeq
!()
;
}
Members
Aliases
BinaryOperators
alias
BinaryOperators
=
staticMap
!(
toBinOp
,
ops
)
Undocumented in source.
BinaryOperators
alias
BinaryOperators
=
AliasSeq
!()
Undocumented in source.
ops
alias
ops
=
Filter
!(
hasOperator
,
overloadable
)
Undocumented in source.
Templates
toBinOp
template
toBinOp
(string op)
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
An AliasSeq of BinaryOperator structs for type T, one for each binary operator.