[Bug libstdc++/87809] [9 Regression] Can't create empty std::optional>

2018-10-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87809 --- Comment #2 from Jonathan Wakely --- It affects other containers too: #include #include #include template struct Alloc { using value_type = T; T* allocate(unsigned n); void deallocate(T* p, unsigned n); Alloc(int) { } temp

[Bug libstdc++/87809] [9 Regression] Can't create empty std::optional>

2018-10-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87809 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Known to work|