mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-04 03:35:09 +00:00
This implements Optional<T&> as a T*, whose presence has been missing since the early days of Optional. As a lot of find_foo() APIs return an Optional<T> which imposes a pointless copy on the underlying value, and can sometimes be very misleading, with this change, those APIs can return Optional<T&>.
6.6 KiB
6.6 KiB