[Bug c++/107085] __reference_constructs_from_temporary does not detect static up-cast

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 5 06:43:15 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107085

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #6)
> where we bind 'b' to the Base subobject of a temporary Derived object, yes?

Yes, exactly right.


More information about the Gcc-bugs mailing list