Boost Users :
From: Joel FALCOU (joel.falcou_at_[hidden])
Date: 2008-06-02 12:50:22
I think i'm too deeply rooted into my 'performance' set of mind.
I was about to propose an argument about initilizing vector or array of
complex to be filled, but I forgot the vector(n,value) methods. SO
please disregard this argument.
> they are implicit for float -> double or long double and double to long
> double. In other words, the constructors are explicit when an implicit
> conversion would normally generate a warning for the value type.
OK I see the problem. Is this that problematic that those warning appears ?
> Yes. We ran into this with the Units library. If two different class
> templates define such overloads, then trying to add them is ambiguous.
I see but I think disambiguating the overload by any other means is
Thanks for the discussion. I see now why it's not a clear-cut case.
-- Joel FALCOU Research Engineer @ Institut d'Electronique Fondamentale Université PARIS SUD XI France
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