Commit Graph

2 Commits

Author SHA1 Message Date
Raphael S. Carvalho
453620a316 compatible_ring_position: add function to return token
Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
2016-12-08 14:25:29 -02:00
Avi Kivity
c1815abd15 Introduce compatible_ring_position
ring_position is built for modern code that does not require default
constructors or stateless comparators.  But not all code is modern, so
supply a compatible_ring_position that works with old code, at the cost
of some extra storage.  Intended user is boost's interval container
library.
2016-07-03 10:27:00 +03:00