[libcxx-commits] [libcxx] [libc++][math] Implement C++23 (parts of) P0533: constexpr `std::div()` (PR #104633)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Aug 17 07:45:56 PDT 2024
philnik777 wrote:
> @philnik777
>
> > since this doesn't work when calling the functions without qualifiers and breaks `using namespace std;`
>
> AFAIK This is a general issue if one mangles two functions with different behavior from different namespaces with the same name (e.g. `::div()` and `std::div()`). Is it a requirement that this works?
Yes: http://eel.is/c++draft/support.c.headers#other-1
https://github.com/llvm/llvm-project/pull/104633
More information about the libcxx-commits
mailing list