descore ~master (2021-11-17T13:34:47.5426292)
Dub
Repo
hasBasicMathOp.hasBasicMathOp
des
math
basic
traits
hasBasicMathOp
Undocumented in source.
template
hasBasicMathOp
(T)
enum
hasBasicMathOp
=
isAssignable
!(
Unqual
!
T
,
T
) &&
is
(
typeof
(
T.init
+
T.init
) ==
T
) &&
is
(
typeof
(
T.init
-
T.init
) ==
T
) &&
is
(
typeof
((
T.init
*
0.5
)) :
T
) &&
is
(
typeof
((
T.init
/
0.5
)) :
T
)
;
Meta
Source
See Source File
des
math
basic
traits
hasBasicMathOp
manifest constants
hasBasicMathOp