martinmoene / variant-lite

variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library
Boost Software License 1.0
239 stars 26 forks source link

variant-based nonstd::optional public interface is empty #19

Closed flexferrum closed 6 years ago

flexferrum commented 6 years ago

Current implementation of variant-based nonstd::optional is empty and useless. It's difficult to use both nonstd::optional and nonstd::variant in the one project due to header names ambiguity.

martinmoene commented 6 years ago

Indeed, a not-even half-hearted, wholly lost-sight of wack at it.

martinmoene commented 6 years ago

optional.hpp has been removed.