[Bug c++/107124] Reference template parameter refers to a temporary object

fchelnokov at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Oct 30 21:10:25 GMT 2022


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

--- Comment #3 from Fedor Chelnokov <fchelnokov at gmail dot com> ---
The latter example is indeed a bug in MSVC:
https://developercommunity.visualstudio.com/t/Cannot-find-template-function-with-expli/1672180

And here is the related discussion according the original issue:
https://stackoverflow.com/a/73921590/7325599


More information about the Gcc-bugs mailing list