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-27 22:12:40 -07:00 committed by GitHub
parent abafbf2afd
commit 1c3d400b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,8 @@ template <typename T>
class complex
{
public:
/// Type alias for scalar type
/// Type alias for scalar type
using value_type = T;
private:
//