mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
feat: complex.h
added
This commit is contained in:
@ -29,6 +29,7 @@
|
||||
#include <mp-units/systems/isq/space_and_time.h>
|
||||
#include <mp-units/systems/si.h>
|
||||
#if MP_UNITS_HOSTED
|
||||
#include <mp-units/complex.h>
|
||||
#include <mp-units/math.h>
|
||||
#endif
|
||||
#ifdef MP_UNITS_IMPORT_STD
|
||||
@ -45,11 +46,6 @@ import std;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if MP_UNITS_HOSTED
|
||||
template<typename T>
|
||||
constexpr bool mp_units::is_complex<std::complex<T>> = true;
|
||||
#endif
|
||||
|
||||
template<>
|
||||
constexpr bool mp_units::is_vector<int> = true;
|
||||
|
||||
|
Reference in New Issue
Block a user