I iterate over an stxxl::vector and try to set member variables of some of the objects by derefencing the iterator, e.g. (it->object).indicator = true. This does not work and changes to the member get lost. Am I getting something wrong here?
Do you use a const_iterator? (But then, compilation should fail.)
Does (*it).object.indicator = true work?
Could you post the specification of your data type, please?
I was able to fix it and the bug was entirely unrelated to stxxl. Sorry for that!