constructor called twice
I found two statements in a working program which calls constructor twice.
The first statement creates an object by calling two argument constructor.
In the second statement the same object calls one argument constructor.
The statements are below
is this legal .please explain
1. for_fft_type for_fft(Domain<1>(nrange), 1.0);
I don't think the compiler allows that. It is possible that the second line actually calls the overloaded operator().
Thank u anon
you r right .It is overloaded operator().