carbon v1.8.0 (2018-09-02T09:54:37Z)
Home
Dub
Repo
isValidOperator.isValidOperator
carbon
linear
isValidOperator
Undocumented in source.
enum
isValidOperator
;
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
))
static if
(
isMatrix!R || isAbstractMatrix!R
)
enum
isValidOperator
=
is
(
typeof
(
mixin
(
"L.init "
~
op
~
" typeof(R.init.at(0, 0)).init"
))) &&
isValidOperatorImpl
!(
L
,
op
,
R
)
;
enum
isValidOperator
;
enum
isValidOperator
;
enum
isValidOperator
;
Meta
Source
See Source File
carbon
linear
isValidOperator
manifest constants
isValidOperator