>> It happens always, and only in a table directly after '\\'. It also 
>> happens for example \textit{..} instead of \verb". It looks perfectly

>> reproducable.
>>
>> So, the vector only 'reallocates' the tokens when a second token is 
>> added.
>>
>> Still, I don't understand this.
>
>When the vector is reallocated, the old version is still there until
>some other allocation causes it to be overwritten by some other data.
>This is the part that is unpredictable.
>

It would be nice to be able to reproduce in a small test program, but
that might be just an academic issue.

What if you'd make tokens_ a vector of references ?

- std::vector<Token const &> tokens_;

Please ignore that if that's a not-so-smart idea.

Vincent

Reply via email to