
23 Jun
2004
23 Jun
'04
3:54 p.m.
On Wednesday 23 June 2004 10:51 am, Michael Glassford wrote:
The Boost.Threads documentation states that the ScopedTimedLock concept is a refinement of the ScopedTryLock concept; however, the boost::timed_mutex::scoped_timed_lock class, which is supposed to be a model of the ScopedTimedLock concept, doesn't define the various try_* methods.
In your opinion, should the documentation be changed to state that the ScopedTimedLock concept is a refinement of the ScopedLock (rather than ScopedTryLock) concept, or should the boost::timed_mutex::scoped_timed_lock class implement the various try_* methods?
It sounds like the concepts are wrong. I'd suggest that the refinement clause in the docs be removed. Doug