Each version of makeScope uses a static vector to store values in and returns a
reference to this vector. This is very dangerous in a multi-threaded
environment since coinciding calls to makeScope with the same number of
arguments will clear and add variables to the same vector. There is a Boost
library that provides variadic container construction.
Original issue reported on code.google.com by miata...@gmail.com on 26 Feb 2011 at 5:50
Original issue reported on code.google.com by
miata...@gmail.com
on 26 Feb 2011 at 5:50