autowrap v0.4.4 (2019-08-22T08:50:35Z)
Dub
Repo
BinaryOperators
autowrap
reflection
Undocumented in source.
template
BinaryOperators (
T
) {
import
std
.
meta
:
staticMap
,
Filter
,
AliasSeq
;
;
import
std
.
meta
:
staticMap
,
Filter
,
AliasSeq
;
;
import
std
.
meta
:
staticMap
,
Filter
,
AliasSeq
;
;
import
std
.
traits
:
hasMember
;
;
alias
overloadable
=
AliasSeq
!(
"+"
,
"-"
,
"*"
,
"/"
,
"%"
,
"^^"
,
"&"
,
"|"
,
"^"
,
"<<"
,
">>"
,
">>>"
,
"~"
,
"in"
)
;
alias
ops
=
Filter
!(
hasOperator
,
overloadable
)
;
template
toBinOp
(string op)
;
alias
BinaryOperators
=
staticMap
!(
toBinOp
,
ops
)
;
alias
BinaryOperators
=
AliasSeq
!()
;
}
Members
Aliases
BinaryOperators
alias
BinaryOperators
=
AliasSeq
!()
Undocumented in source.
BinaryOperators
alias
BinaryOperators
=
staticMap
!(
toBinOp
,
ops
)
Undocumented in source.
ops
alias
ops
=
Filter
!(
hasOperator
,
overloadable
)
Undocumented in source.
overloadable
alias
overloadable
=
AliasSeq
!(
"+"
,
"-"
,
"*"
,
"/"
,
"%"
,
"^^"
,
"&"
,
"|"
,
"^"
,
"<<"
,
">>"
,
">>>"
,
"~"
,
"in"
)
Undocumented in source.
Templates
toBinOp
template
toBinOp
(string op)
Undocumented in source.
Meta
Source
See Implementation
autowrap
reflection
enums
BinOpDir
isModule
functions
functionName
structs
BinaryOperator
Module
Modules
templates
AllAggregates
AllFunctions
BinaryOperators
FunctionParameters
FunctionSymbol
Functions
NumDefaultParameters
NumRequiredParameters
Parameter
PrimordialType
Properties
PublicFieldNames
PublicFieldTypes
Symbol
UnaryOperators
isExportFunction
isParameter
isProperty
isStatic
isUserAggregate