Well I'll be damned, tried it on Bionic (Ubuntu 18) and it seems to work
just fine:

```
curl -L https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/bionic/
llvm-toolchain-bionic-6.0 main"
sudo apt-get update
sudo apt-get install -y clang-6.0
```

```test.cpp
#include <optional>
int main()
{
    std::optional<int> o1;
}
```

```
$ clang++-6.0 -std=c++17 -o test test.cpp
```

Sorry for the noise,

Milan
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to