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
@ -128,6 +128,7 @@ class complex
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/// Type alias for scalar type
|
/// Type alias for scalar type
|
||||||
|
using value_type = T;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user