https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92570
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |7.5.0 Summary|clang fails to instantiate |[8/9/10 Regression] clang |std::optional<A> if A is |fails to instantiate |not const copy |std::optional<A> if A is |constructible |not const copy | |constructible Known to fail| |10.0, 8.3.0, 9.2.0 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Marking as a regression, since clang is happy with the libstdc++ headers from GCC 7. I haven't analysed where the bug is yet though.