cjdb added a comment. In D135341#3841126 <https://reviews.llvm.org/D135341#3841126>, @ldionne wrote:
> Interesting, I actually wasn't even aware of that C++23 feature in the > library. FWIW, libc++ will be more than happy to use that builtin instead of > trying to figure it out inside the library (if that's even possible)! We'll > have to check whether GCC implements it, but hopefully it has something > similar. So this definitely LGTM from the libc++ side of things, assuming the > Clang folks are happy with the implementation. It's possible to easily implement `reference_constructs_from_temporary` in the library, but the converts one is far more tricky because `__reference_binds_to_temporary` only cares about construction. I don't know if GCC implements it (I thought it did, but I can't find the commit in a trivial Google search), but I did learn that libstdc++ has a guard for this name. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135341/new/ https://reviews.llvm.org/D135341 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits