Boost logo

Boost :

Subject: Re: [boost] Boost.Convert+Boost.Parameter
From: Vladimir Batov (batov_at_[hidden])
Date: 2009-02-22 23:07:22


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk