[Bug c++/124246] [reflection] is_swappable_type doesn't work with std::priority_queue

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 9 16:16:06 GMT 2026


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-03-09
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Yeah, it's weird.  And what's so special about std::priority_queue that it
doesn't work whereas std::queue does?  I haven't investigated this yet.


More information about the Gcc-bugs mailing list