https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192
--- Comment #4 from Zhihao Yuan <lichray at gmail dot com> --- (In reply to Zhihao Yuan from comment #3) > Confirmed, please fix. As the standardization of `std::as_const`, this bug > becomes significant. Never mind, I will create another bug report to demonstrate my issue (very likely to have the same cause but with different result).