I've changed the example to force copy semantics with std::vector... Could you try it on your environment?