absl::AnyInvocable is not guaranteed to be empty after move
#1673
-
|
As the documentation in the header clearly states, when move constructing an It would make using the trailing |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I suppose I'm actually entangling two things. I didn't dig into |
Beta Was this translation helpful? Give feedback.
-
|
Guaranteeing something that doesn't need to be guaranteed constrains the implementation and, for example, may prevent future optimizations. |
Beta Was this translation helpful? Give feedback.
Guaranteeing something that doesn't need to be guaranteed constrains the implementation and, for example, may prevent future optimizations.