[intrusive] slist: strange behaviour when using cache_last

Hi,
I have two slists and transfer items between them via splice() methods.
Without cache_last everything works as expected. With cache_last the third
call to splice does not transfer the list element. Am I using something
wrong or is this a bug in intrusive?
Thanks,
Christian
#include

Christian Rössel wrote:
Hi,
I have two slists and transfer items between them via splice() methods. Without cache_last everything works as expected. With cache_last the third call to splice does not transfer the list element. Am I using something wrong or is this a bug in intrusive?
Thanks, Christian
Glad to know people is using new Intrusive features and yes, this seems a bug. Thanks for reporting it, I'll fix it ASAP. Regards, Ion

Ion Gaztañaga schrieb:
Ion Gaztañaga wrote:
Christian Rössel wrote:
Glad to know people is using new Intrusive features and yes, this seems a bug. Thanks for reporting it, I'll fix it ASAP.
I've just updated SVN trunk modifying slist.hpp.
Regards,
Ion
Hi Ion, thanks for the quick fix. Everything works fine now. Regards, Christian
participants (2)
-
Christian Rössel
-
Ion Gaztañaga