Are there any QOL functions for tuple-like lexicographical comparisons? Consider the following C++ code:
struct Some_Render_Layer {
int id;
int list_id;
};
... elsewhere in code ...
bool less_than =
std::tie(render_layer1.id, render_layer1.list_id) < std::tie(render_layer2.id, render_layer2.list_id);
Obviously, I’m aware you can implement this kind lexicographical comparison without std::tie-like facility, but this is convenient. I didn’t find anything in the docs.