[PATCH] [libcxx] Support UDTs convertible to arithmetic types in <cmath>
kaballo86 at hotmail.com
Thu Oct 23 14:24:08 PDT 2014
Hi mclow.lists, EricWF,
This patch enables generic <cmath> overloads for types unambiguously convertible to any arithmetic type. Addresses PR18218.
Only `pow` is implemented completely, with proper `noexcept` specifications and the conversion dance, taken from Howard's original patch. If it looks good I'll extend the implementation and test cases to all the other generic <cmath> overloads.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13299 bytes
Desc: not available
More information about the cfe-commits