30 May
2017
30 May
'17
5:18 p.m.
Niall Douglas wrote:
On 30/05/2017 17:01, Peter Dimov via Boost wrote:
Vicente J. Botet Escriba wrote:
We can have C++14 (or even C++11) version of std::variant. Just someone needs to port it. It would be even better if we had also a never-empty variant.
I'm on it.
The libc++ variant implementation started life as a standalone library I believe, and can be found at https://github.com/mpark/variant. Works right back to C++ 11 on all major compilers.
I know, I use it when I need an std::variant; but I wanted to implement
never-valueless.
Actually I wanted to implement expected