ladybird/Libraries/LibURL
Jonne Ransijn d7596a0a61 AK: Don't implicitly convert Optional<T&> to Optional<T>
C++ will jovially select the implicit conversion operator, even if it's
complete bogus, such as for unknown-size types or non-destructible
types. Therefore, all such conversions (which incur a copy) must
(unfortunately) be explicit so that non-copyable types continue to work.

NOTE: We make an exception for trivially copyable types, since they
are, well, trivially copyable.

Co-authored-by: kleines Filmröllchen <filmroellchen@serenityos.org>
2024-12-04 01:58:22 +01:00
..
CMakeLists.txt LibURL: Implement Site concept 2024-11-30 12:07:39 +01:00
Forward.h LibURL: Implement Site concept 2024-11-30 12:07:39 +01:00
Host.cpp LibURL: Implement Host::public_suffix() and registrable_domain() 2024-11-30 12:07:39 +01:00
Host.h LibURL: Implement Host::public_suffix() and registrable_domain() 2024-11-30 12:07:39 +01:00
Origin.cpp LibURL: Implement Site concept 2024-11-30 12:07:39 +01:00
Origin.h LibURL: Implement Site concept 2024-11-30 12:07:39 +01:00
Parser.cpp AK: Don't implicitly convert Optional<T&> to Optional<T> 2024-12-04 01:58:22 +01:00
Parser.h AK: Don't implicitly convert Optional<T&> to Optional<T> 2024-12-04 01:58:22 +01:00
Site.cpp LibURL: Implement Site concept 2024-11-30 12:07:39 +01:00
Site.h LibURL: Implement Site concept 2024-11-30 12:07:39 +01:00
URL.cpp LibURL: Make URL::serialized_host() infallible 2024-11-30 12:07:39 +01:00
URL.h LibURL: Make URL::serialized_host() infallible 2024-11-30 12:07:39 +01:00