Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2004-07-22 07:26:42


On Jul 21, 2004, at 10:03 PM, Batov, Vladimir wrote:

> Does it have to be in 'std'? Cannot that be under 'scoped_lock'? Do not
> have the docs handy. Won't lookup mechanism pick it up?

ADL would allow you to specify std::defer_lock, and just scoped_lock
(instead of std::scoped_lock), but not vice-versa. We could put defer
in namespace std::scoped_lock (or whatever) but I'm not sure what that
buys us.

-Howard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk