Firefly 3.1.0
Standalone library for vector calculations
|
Customised common_type implementation that handles cases where one or both types may be arithmetic or std::complex. More...
#include <vector.hpp>
Customised common_type implementation that handles cases where one or both types may be arithmetic or std::complex.
This behaves like std::common_type but adds special handling when either type or both types are std::complex. In such cases, the resulting type will be std::complex of the larger type between the arithmetic type and the value type of the std::complex.
T1 | First type |
T2 | Second type |