Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
Description
In this code we are moving out of a forwarding reference (callbackFn). If we pass in an lvalue callable object here, then we are moving out of an lvalue reference, which is dangerous. We should pass by value instead.