Added value_type trait to complex to make it an easier drop-in replacement for std::complex. (#607)
This commit is contained in:
@@ -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:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user