Make operator<=> ignore a data member
Yesterday I was reading P2685R1 “Scoped Objects.”
This blog post has nothing at all to do with the point of that paper;
I’d just like to explore one extremely tangential point it raised.
How do we write “basically an aggregate, but with an allocator that is non-salient
for comparison”? P2685R1 §7.1.3 suggests this grotesque snippet:
Arthur O’Dwyer