mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
cc92c3f551
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 |
||
---|---|---|
.. | ||
AEAD | ||
ASN1 | ||
Authentication | ||
BigFraction | ||
BigInt | ||
Checksum | ||
Cipher | ||
Curves | ||
Hash | ||
NumberTheory | ||
Padding | ||
PK | ||
CMakeLists.txt | ||
Forward.h | ||
Verification.h |