TartanLlama / expected

C++11/14/17 std::expected with functional-style extensions

Home Page:https://tl.tartanllama.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error must have copy constructor just to be copied into exception

Kurpilyansky opened this issue · comments

Error must have copy constructor just to be copied into exception here

I think, throwing exception without error value (maybe only in case of non-copyable error) is better decision than putting extra restriction on Error.