tuplet icon indicating copy to clipboard operation
tuplet copied to clipboard

The concept for operator= is too loose.

Open poor-circle opened this issue 1 year ago • 0 comments

I trying to use tl::expected<tuplet::tuple<...>,...>'s operator= and it failed.

The expected use SFINAE(std::is_assignable<T,U>) in operator= to determine if is unexpected error or expected value. However, the concept for tuplet::tuple is too loose so that it accept every other than type, which cause compile error.

Tightening the concept will fix it.

poor-circle avatar Nov 03 '22 14:11 poor-circle