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 25 forks source link

Add smart noexcept to move ctor #14

Closed improbable-nickkrempel closed 6 years ago

improbable-nickkrempel commented 6 years ago

Note: Before this change, a vector of variants will choose not to use move semantics when resizing (and a vector of variants including a move-only type will not work at all).