autowrap v0.4.5 (2019-10-10T08:52:08Z)
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
templates
toBinOp