|
Boost Users : |
From: Gonzalo Arana (gonzalo.arana_at_[hidden])
Date: 2022-04-15 11:32:27
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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net