[Bug c++/124338] Inconsistent const for capture in lambda in an sizeof

herring at lanl dot gov gcc-bugzilla@gcc.gnu.org
Mon Mar 2 21:54:45 GMT 2026


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

--- Comment #4 from S. Davis Herring <herring at lanl dot gov> ---
Well, without it being generic you don't get the error, but yes the wrong
overload is still selected (which is in a way worse).


More information about the Gcc-bugs mailing list