
23 Feb
2009
23 Feb
'09
4:07 a.m.
I spent some time reading Boost.Parameter docs and I hope I am getting a hang of it. Am I right thinking that in order to call convert<string, int>(str, default_ = -1) we are essentially creating "default_" on a side that we pass a reference to later? If so, am I right thinking that we might have a multi-threading safety issue if the call as above is called from two threads? Don't we have two threads assigning/accessing the same variable? Could that be an issue? Has it been looked into? Thanks, Vladimir.