On 16 October 2015 at 07:45, Auer, Jens
Hi,
I am using an any_range of std::unique_ptr values in one of my programs. When I analyse this with valgrind, it reports many uninitialized value usages in any_range, and I cannot explain this from my code. I managed to produce a small example to reproduce this. I would like to know if that is a real issue, or if can just create a valgrind suppression rule.
It's safe to ignore under all compilers and platforms, under all
use-cases, that I have tried. Please see the Boost test matrix to
confirm correct functioning. It is due to a sub-optimal implementation
that I did for the underlying iterator small buffer optimisation. The
any_iterator_buffer uses a boost::array
Best wishes, Jens
PS: I've sent this to boost-users yesterday, but I now think that boost-devel is a better match.
Regards, Neil