https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104477
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- https://clang.llvm.org/cxx_status.html#cxx23 says "Clang provides a __reference_binds_to_temporary type trait builtin, with which the library facility can be partially implemented. Both __reference_constructs_from_temporary and __reference_converts_from_temporary builtins should be provided, following the normal cross-vendor convention to implement traits requiring compiler support directly." which suggests to me that we should implement two new builtins: __reference_constructs_from_temporary __reference_converts_from_temporary With those in place, I don't think we need __reference_binds_to_temporary.