
22 Jul
2004
22 Jul
'04
12:26 p.m.
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