winrt::fire_and_forget was too forgetful

Save to:
Instapaper Pocket Readability

Heard about it?

winrt::fire_and_forget was too forgetful

by Raymond Chen

From the article:

C++/WinRT provides a handy helper class called winrt::fire_and_forget. It lets you specify that nobody is going to observe the result of the coroutine. This is handy because it lets you tell the compiler that the lack of observation is intentional, so it won’t generate a warning...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.