SyTen

◆ operator""_c() [1/2]

constexpr SDef syten::operator""_c ( long double  value)
constexpr

User-defined literal operator to turn a floating-point value into a SDef (potentially complex).

Example\n 1.5_c is SDef(1.5).
Remarks
The STL does not support cross-operations between double and e.g. std::complex<float>, so everything has to be consistent.