Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Constructs a new combinable object.
combinable();
template <
typename _Function
>
explicit combinable(
_Function_FnInitialize
);
combinable(
const combinable& _Copy
);
Parameters
_Function
The type of the initialization functor object._FnInitialize
A function which will be called to initialize each new thread-private value of the type _Ty. It must support a function call operator with the signature _Ty ()._Copy
An existing combinable object to be copied into this one.
Remarks
The first constructor initializes new elements with the default constructor for the type _Ty.
The second constructor initializes new elements using the initialization functor supplied as the _FnInitialize parameter.
The third constructor is the copy constructor.
Requirements
Header: ppl.h
Namespace: concurrency