Iterator dereference (nullptr) crash in Visual Studio This was caused through an issue with the allocated pointer swap on move
| 21 | /// |
| 22 | /// This was caused through an issue with the allocated pointer swap on move |
| 23 | TEST(regression_tests, move_iterator_dereference_nullptr) { |
| 24 | std::string test = "hey"; |
| 25 | fu2::function<void()> fn = stateful_callable{std::move(test)}; |
| 26 | |
| 27 | auto fn2 = std::move(fn); |
| 28 | (void)fn2; |
| 29 | } |
| 30 | |
| 31 | int function_issue_7_regression(int& i) { |
| 32 | return i; |
nothing calls this directly
no test coverage detected