mirror ~master (2021-09-30T14:57:21Z)
Dub
Repo
UnaryOperators
mirror
meta
traits
Undocumented in source.
template
UnaryOperators (
T
) {
import
std
.
meta
:
AliasSeq
,
Filter
;
;
alias
overloadable
=
AliasSeq
!(
"-"
,
"+"
,
"~"
,
"*"
,
"++"
,
"--"
)
;
eponymoustemplate
hasOperator
(string op)
;
alias
UnaryOperators
=
Filter
!(
hasOperator
,
overloadable
)
;
}
Members
Aliases
UnaryOperators
alias
UnaryOperators
=
Filter
!(
hasOperator
,
overloadable
)
Undocumented in source.
overloadable
alias
overloadable
=
AliasSeq
!(
"-"
,
"+"
,
"~"
,
"*"
,
"++"
,
"--"
)
Undocumented in source.
Enums
hasOperator
eponymoustemplate
hasOperator
(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