[boost] Re: Unspecified behaviour in Thread FAQ example

2003-07-10 Thread Daniel Spangenberg
"William E. Kempf" schrieb: > > 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." Grummph, you are absolutely right, of course, and I should have known i

Re: [boost] Re: Unspecified behaviour in Thread FAQ example

2003-07-10 Thread William E. Kempf
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). Ot

[boost] Re: Unspecified behaviour in Thread FAQ example

2003-07-10 Thread Daniel Spangenberg
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 h