| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
std::abs<CT>(x) with an explicit template argument is rejected as ambiguous by newer libc++ (e.g. the macOS 26 SDK), which brings the integer abs overloads into scope. s1var/validsVar are already CT, so drop the argument and let std::abs resolve the <cmath> overload.
| Back | FazBrowse Home | New Git URL |
Description
std::abs(x) with an explicit template argument is rejected as ambiguous by newer libc++ (e.g. the macOS 26 SDK), which brings the integer abs overloads into scope. s1var/validsVar are already CT, so drop the argument and let std::abs resolve the overload.
Changes to Users
Checklist