Re: [boost] Boost.Thread request: event object

28 Jan
2004
28 Jan
'04
9:25 p.m.
On 1/26/04 4:50 PM, "Hurd, Matthew" <hurdm@sig.com> wrote:
On Behalf Of Sean Kelly [SNIP] or better yet:
if( lock const& l = lock(guard,t))
I like this last one, though I suspect I'll end up with
if (lock lk(guard,t))
in my code as it will be the first thing I'll think of. [TRUNCATE]
Did you see my last message in this thread? I said that the rules of C++ _FORBID_ creation of multiple objects and/or use of the constructor call syntax when using object creation with the condition of an "if" or "while". The single object syntax with "=" is the only one allowed. -- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com
7804
Age (days ago)
7804
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daryle Walker