Subject: Re: [Boost-users] [proto] learning proto slowly, a small (math)complex library
From: alfC (alfredo.correa_at_[hidden])
Date: 2011-01-11 02:01:18


> try
>
> std::complex<double> z = 4. + 5.i;

ok, I put that but still doesn't work.

> Incidentally, you should have a real transform able to turn any
> complex_expression into a complex and not rely on a given fixed
> AST structure.
>
> What if i do z = i + i + 3 + 4*i ?

I know, but I want to keep it simple, std::complex<double> z = 4. +
5.*i; will be just a glorified constructor.