From: Ismo Salonen on
--snip--

The bug is somewhere else. The vector is cleared or deleted or something
similar error. Or 'a' does not point to correct vector ?

ismo
From: Ismo Salonen on
--snip--

Another idea : you are mixing debug and release builds thus breaking ODR.

ismo