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

Fix noexcept specification on swap #34

Closed martinmoene closed 5 years ago

martinmoene commented 5 years ago

Moved from issue #31.

Note: There's a related issue for nonstd::optional (code).

Niels Dekker. noexcept considered harmfull??? Lightning talk at C++ on Sea 2019.