[Bug libstdc++/101923] std::function's move ctor is slower than the copy one for empty source objects

nok.raven at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 15 17:54:11 GMT 2021


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

Nikita Kniazev <nok.raven at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nok.raven at gmail dot com

--- Comment #2 from Nikita Kniazev <nok.raven at gmail dot com> ---
There is no difference in the produced code on trunk (except move ops order)
https://godbolt.org/z/esfjhr9ae


More information about the Gcc-bugs mailing list