ladybird/Userland/Libraries/LibGUI/Wizards
Ali Mohammad Pur 51c2c69357 AK+Everywhere: Disallow constructing Functions from incompatible types
Previously, AK::Function would accept _any_ callable type, and try to
call it when called, first with the given set of arguments, then with
zero arguments, and if all of those failed, it would simply not call the
function and **return a value-constructed Out type**.
This lead to many, many, many hard to debug situations when someone
forgot a `const` in their lambda argument types, and many cases of
people taking zero arguments in their lambdas to ignore them.
This commit reworks the Function interface to not include any such
surprising behaviour, if your function instance is not callable with
the declared argument set of the Function, it can simply not be
assigned to that Function instance, end of story.
2021-06-06 00:27:30 +04:30
..
AbstractWizardPage.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractWizardPage.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CoverWizardPage.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CoverWizardPage.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WizardDialog.cpp AK+Everywhere: Disallow constructing Functions from incompatible types 2021-06-06 00:27:30 +04:30
WizardDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WizardPage.cpp LibGfx: Remove Gfx::FontDatabase::default_bold_font() 2021-05-20 20:55:29 +02:00
WizardPage.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00