TartanLlama / expected

C++11/14/17 std::expected with functional-style extensions
https://tl.tartanllama.xyz
Creative Commons Zero v1.0 Universal
1.54k stars 133 forks source link

Unnecessary move in `emplace` #122

Closed TartanLlama closed 1 year ago

TartanLlama commented 1 year ago

See https://bueddl.godbolt.org/z/bTY619GWr

Should placement new instead of move assign