mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-11 10:39:17 +00:00
Template argument are checked to ensure that the `Out` type is equal or convertible to the type returned by the invokee. Compilation now fails on: `Function<void()> f = []() -> int { return 0; };` But this is allowed: `Function<ErrorOr<int>()> f = []() -> int { return 0; };` |
||
---|---|---|
.. | ||
Parser.cpp | ||
Parser.h |