ned14 / outcome

Provides very lightweight outcome<T> and result<T> (non-Boost edition)
https://ned14.github.io/outcome
Other
675 stars 62 forks source link

Missing `<memory>` include in `detail/value_storage.hpp` #282

Closed BurningEnlightenment closed 11 months ago

BurningEnlightenment commented 11 months ago

Discovered by @ned14 while investigating ned14/quickcpplib#47

276 introduced the usage of std::addressof, but crucially forgot to include <memory> in outcome/detail/value_storage.hpp. Note that this will affect the Boost 1.83 release if it isn't fixed before 1.83 closes on 2023-08-02.

reprex: https://godbolt.org/z/b3P33qYzW