TartanLlama / expected

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

Unnecessary move in `emplace` #122

Closed TartanLlama closed 2 years ago

TartanLlama commented 2 years ago

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

Should placement new instead of move assign