|
constexpr |
User-defined literal operator to turn a floating-point value into a SRDef
.
SRDef
was always double
(or float
), this would not be necessary, as one could simply write 1.5
(or 1.5f
). However, if we want to support both (and not change everything on every switch), we have to be explicit.