autowrap v0.4.4 (2019-08-22T08:50:35Z)
Dub
Repo
BinaryOperators.toBinOp
autowrap
reflection
BinaryOperators
Undocumented in source.
template
BinaryOperators
(T)
static if
(
hasMember!(T, "opBinary") || hasMember!(T, "opBinaryRight")
)
template
toBinOp (
string
op
) {
static if
(
hasMember!(T, "opBinary") || hasMember!(T, "opBinaryRight")
)
enum
hasLeft
;
static if
(
hasMember!(T, "opBinary") || hasMember!(T, "opBinaryRight")
)
enum
hasRight
;
static if
(
hasMember!(T, "opBinary") || hasMember!(T, "opBinaryRight")
)
static if
(
hasLeft && hasRight
)
enum
toBinOp
;
static if
(
hasMember!(T, "opBinary") || hasMember!(T, "opBinaryRight")
)
static if
(!(
hasLeft && hasRight
))
static if
(
hasLeft
)
enum
toBinOp
;
static if
(
hasMember!(T, "opBinary") || hasMember!(T, "opBinaryRight")
)
static if
(!(
hasLeft && hasRight
))
static if
(!(
hasLeft
))
static if
(
hasRight
)
enum
toBinOp
;
}
Members
Manifest constants
hasLeft
enum
hasLeft
;
Undocumented in source.
hasRight
enum
hasRight
;
Undocumented in source.
toBinOp
enum
toBinOp
;
Undocumented in source.
toBinOp
enum
toBinOp
;
Undocumented in source.
toBinOp
enum
toBinOp
;
Undocumented in source.
Meta
Source
See Implementation
autowrap
reflection
BinaryOperators
aliases
BinaryOperators
ops
overloadable
templates
toBinOp