[boost] Enhanced call_once()
by Andrew J Bromage other posts by this author
Aug 6 2002 7:00AM messages near this date
Re: [boost] Mini-review request: aligned_storage.hpp
|
Re: [boost] Enhanced call_once()
G'day all.
Boost currently provides this:
void call_once(void (*func)(), once_flag&);
Is there any interest in something like this?
void call_once(function0<void> & func, once_flag&);
Obviously once_flag isn't appropriate for this, so I envisage something
more like this:
class once : private noncopyable {
public:
once();
~once();
void call_once(function0<void> & func);
};
Cheers,
Andrew Bromage
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Andrew J Bromage
Peter Dimov
Andrew J Bromage
William E. Kempf
Andrew J Bromage
William E. Kempf
Alexander Terekhov
Pete Becker
Andrew J Bromage
Peter Dimov
Andrew J Bromage
William E. Kempf
Andrew J Bromage
William E. Kempf
Rene Rivera
William E. Kempf
Andrew J Bromage
Jason Stewart
Andrew J Bromage
Andrew J Bromage
Rob Stewart
William E. Kempf
William E. Kempf
Alexander Terekhov
Peter Dimov
Peter Dimov
Pete Becker
William E. Kempf
William E. Kempf
Pete Becker
|