How would I write a template constraint for the following struct
struct Foo (T, U) {
}
to indicate that both T and U must be comparable using <? By that I mean that two Ts can be compared with < and two Us can be compared with < - a T and a U can be incomparable.
I believe this will do what you ask, though there may be a more concise solution:
You can clean it up a bit with a template: