mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-08 04:09:00 +00:00
This is a bit unfortunate, but if a function provided to this struct is overloaded, the C++ compiler cannot distinguish which overload should be assigned to the Function object. This is explained in detail here: https://stackoverflow.com/a/30394755 C-style function pointers do work, however, and are fine here because we only ever assign global free functions to these members.