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