* Paul E. McKenney (paul...@linux.vnet.ibm.com) wrote:
On Thu, Dec 13, 2012 at 06:44:56AM -0500, Mathieu Desnoyers wrote:
I noticed that in addition to having:
- push/enqueue returning whether the stack/queue was empty prior to the
operation,
- pop_all/splice, by nature, emptying the
On Thu, Dec 13, 2012 at 06:44:56AM -0500, Mathieu Desnoyers wrote:
I noticed that in addition to having:
- push/enqueue returning whether the stack/queue was empty prior to the
operation,
- pop_all/splice, by nature, emptying the stack/queue,
it can be interesting to make pop/dequeue
I noticed that in addition to having:
- push/enqueue returning whether the stack/queue was empty prior to the
operation,
- pop_all/splice, by nature, emptying the stack/queue,
it can be interesting to make pop/dequeue operations return whether they
are returning the last element of the