Boost logo

Boost Users :

Subject: Re: [Boost-users] [proto] learning proto slowly, a small (math)complex library
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2011-01-11 02:36:40


On 11/01/11 08:01, alfC wrote:
>> try
>>
>> std::complex<double> z = 4. + 5.i;
>
> ok, I put that but still doesn't work.

See my other mail, your operator complex<T> has too many useless
template parameter.

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

Sure, but the actual tranform is not harder


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net