|
Boost : |
From: John Maddock (jz.maddock_at_[hidden])
Date: 2021-02-08 18:04:36
On 08/02/2021 17:30, Gero Peterhoff via Boost wrote:
> That's the problem: the generic std::complex class has generic conversion ctors, the FP specializations don't. I don't understand why this is done.
Actually the generic template specification is redundant given that only
float/double/long double specializations are allowed.
BTW the specializations do have converting constructors, but they are
explicit when narrowing which is the right design IMO.
-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk