[Bug c++/95029] Compile error when using constant variable instead of literal

maxi.matthe at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sat May 9 23:45:03 GMT 2020


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

--- Comment #2 from Maximilian Matthe <maxi.matthe at googlemail dot com> ---
Unfortunately, this seems to be a hard-to-spot case of the most vexing parse
(just tried with clang, whose warning pointed me into that direction). 

https://www.fluentcpp.com/2018/01/30/most-vexing-parse/


More information about the Gcc-bugs mailing list