Fix Issue 12293 - forward should be moved to std.functional.