|
Boost : |
From: William E. Kempf (wekempf_at_[hidden])
Date: 2003-07-10 14:04:20
Daniel Spangenberg said:
> Hello William!
>
> "William E. Kempf" schrieb:
>
>> You're correct, and the solution is simply to replace the < operator
>> with std::less calls.
>
> You mean the std::less specialization on boost::mutex? (I wasn't aware,
> that you provide total ordering on mutexes). Otherwise I don't see the
> difference, I have to confess...
20.3.3/8
"For templates greater, less, greater_equal, and less_equal, the
specializations for any pointer type yield a total order, even if the
builtin operators <, >, <=, >= do not."
-- William E. Kempf
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk