Hi,

Given an element (contained in a list), how may I get the next one, without
requiring access to the list itself?

I only found this way to get the next element:

auto iterator = list.iterator_to(value);
++iterator;
return *iterator;

But it requires access to the list itself.

Best regards,

-- 
Gonzalo A. Arana
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to