martinmoene / expected-lite

expected lite - Expected objects in C++11 and later in a single-file header-only library
Boost Software License 1.0
389 stars 35 forks source link

Fix non-movable non-copyable types #59

Closed polasek closed 1 year ago

polasek commented 1 year ago

Fixes https://github.com/martinmoene/expected-lite/issues/58

Sorry for not adding tests here, I don't have the time to look at what the right place for adding those is at the moment. Obviously there might be some implications, but looking at the code at a glance it just looked like an omission.