Added value_type trait to complex to make it an easier drop-in replacement for std::complex. (#607)

This commit is contained in:
Cliff Burdick
2022-08-28 01:12:40 -04:00
committed by GitHub
parent abafbf2afd
commit 1c3d400b14
+1
View File
@@ -128,6 +128,7 @@ class complex
{ {
public: public:
/// Type alias for scalar type /// Type alias for scalar type
using value_type = T;
private: private:
// //