These are chat archives for boostorg/hana

Aug 2016
Aug 18 2016 21:18
Hello there! I'd like to overload operator > for hana::string and my types (there is more than one, so it has to be a template with enable_if). The problem is that this is always ambiguous. My question is - shouldn't this condition be && instead of || ?
Jason Rice
Aug 18 2016 23:28
hana::less certainly requires both operands to be hana::Orderable, so I'm not sure why those are || there.
Jason Rice
Aug 18 2016 23:38
I guess they could be hana::Orderable but not necessarily both specialize hana::detail::orderable_operators.