C++11/14/17 std::expected with functional-style extensions
Creative Commons Zero v1.0 Universal
1.54k
stars
133
forks
source link
void -> tl::expected<void, error_type_enum> is not possible when void is return of a function, not {} #152
Open
Arniiiii opened 1 year ago
error: could not convert ...(function place and name ) from ‘void’ to ‘tl::expected<void, unexpected_error_find_in_map>’
the problem appears when
but not when
Current solution:
I don't know at which side the problem.