promise::swap Method
Exchanges the associated asynchronous state of this promise object with that of a specified object.
void swap(promise& Other) _NOEXCEPT;
Parameters
- Other
A promise object.
Requirements
Header: future
Namespace: std
Deze browser wordt niet meer ondersteund.
Upgrade naar Microsoft Edge om te profiteren van de nieuwste functies, beveiligingsupdates en technische ondersteuning.
Exchanges the associated asynchronous state of this promise object with that of a specified object.
void swap(promise& Other) _NOEXCEPT;
Header: future
Namespace: std