#include <threads.h>
Public Member Functions | |
| noncopy_bootstrap (F &_f) | |
| Create a noncopyable bootstrap wrapper. | |
| void | operator() () |
| Invoke F::operator() on the wrapped object. | |
Public Attributes | |
| F & | f |
Stores a reference to a noncopyable nullary function object in a structure that is suitable as a bootstrap function for a thread.
The contained object is assumed to last for as long as the thread does, and will not be (automatically) deleted or destroyed when the thread terminates.
| F | the functor type that this structure wraps. |
| cwidget::threads::noncopy_bootstrap< F >::noncopy_bootstrap | ( | F & | _f | ) | [inline] |
Create a noncopyable bootstrap wrapper.
| _f | the function object to wrap. |
| void cwidget::threads::noncopy_bootstrap< F >::operator() | ( | ) | [inline] |
Invoke F::operator() on the wrapped object.
1.5.6