carbon v1.5.4 (2015-09-23T08:11:56Z)
Home
Dub
Repo
isValidOperator.isValidOperator
carbon
linear
isValidOperator
Undocumented in source.
enum
isValidOperator
;
enum
isValidOperator
;
template
isValidOperator
(L, string op, R)
static if
(
op != "="
)
static if
(!(
(isMatrix!L || isAbstractMatrix!L) && (isMatrix!R || isAbstractMatrix!R)
))
static if
(
isMatrix!L || isAbstractMatrix!L
)
enum
isValidOperator
=
is
(
typeof
(
mixin
(
"typeof(L.init.at(0, 0)).init "
~
op
~
" R.init"
))) &&
isValidOperatorImpl
!(
L
,
op
,
R
)
;
enum
isValidOperator
;
enum
isValidOperator
;
enum
isValidOperator
;
enum
isValidOperator
;
Meta
Source
See Source File
carbon
linear
isValidOperator
manifest constants
isValidOperator