ladybird/Userland/Libraries/LibCrypto/Cipher
Daniel Bertalan cc92c3f551 LibCrypto+LibGfx: Fix GCC 14 compile errors
The C++ standard does not allow specifying the template parameters in
constructor declarations, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97202#c8.

Converting constructors have a higher priority that user-defined
conversion functions; let's constrain `Gfx::Size<T>(Gfx::Size<U>)` to
only be considered when `U` is convertible to `T`. This lets us fall
back to conversion operators in the case of `UISize` -> `IntSize`, for
instance. Clang is still okay without this, but MSVC would error out
similarly: https://godbolt.org/z/PTbeYPM7s

Note that a not-yet-committed patch is required for full compilation:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114784#c3
2024-04-20 15:52:29 -06:00
..
Mode LibCrypto+LibGfx: Fix GCC 14 compile errors 2024-04-20 15:52:29 -06:00
AES.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
AES.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
AESTables.h LibCrypto: Declobber AES header from s-box tables 2021-12-17 19:17:12 +03:30
ChaCha20.cpp LibCrypto: Add ChaCha20 2022-04-13 09:13:17 +04:30
ChaCha20.h LibCrypto: Add Chacha20Poly1305 2023-09-26 13:22:04 +03:30
Cipher.h LibCrypto: Remove simple-template-id from constructors 2024-04-07 21:33:46 +02:00