[Bug libstdc++/102712] std::optional::operator* should assert on unset value

2021-10-12 Thread ott at fb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102712 --- Comment #3 from Giuseppe Ottaviano --- Oh well this is embarrassing, I was looking at _Optional_payload_base::_M_get() instead of _Optional_base_impl::_M_get() . Sorry for the noise and thanks for fixing this 4 years ago!

[Bug libstdc++/102712] New: std::optional::operator* should assert on unset value

2021-10-12 Thread ott at fb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102712 Bug ID: 102712 Summary: std::optional::operator* should assert on unset value Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Co