Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-02-07 09:39:10

Preston A. Elder wrote:

> On Fri, 28 Jan 2005 23:26:22 -0500, Preston A. Elder wrote:
>> More food for thought. Meanwhile, I'm going to alter my hacked up
>> version to do the above, and I'll post a link to the code when done :)
> As promised, here is a link to the code:

I'll have a closer look at this and then decide what's the best way to mix
validation of single value with validation of the whole option. This starts
to resemble output formatters library which was reviewed some time ago.

> Incidentally, why is 'arg' a global variable? This is horribly
> thread-unsafe - it would be better to have the argument name passed to
> value_semantic in its parse function or something - because global
> variables really suck *nod* - especially for multi-threaded applications
> (not that I plan to have two parses running at once, but it IS possible).

This a variable which is never modified. What thread-safely problems do you

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at