desstdx ~master (2022-06-01T10:27:51.2635912)
Dub
Repo
hasBasicMathOp.hasBasicMathOp
des
stdx
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
stdx
traits
hasBasicMathOp
manifest constants
hasBasicMathOp