Files
ladybird/AK
Timothy Flynn 831e5ed4e2 AK: Allow comparing spans of different constness
Otherwise, the following code would not compile:

    constexpr Array<int, 3> array { 4, 5, 6 };
    Vector<int> vector { 4, 5, 6 };

    if (array == vector.span()) { }

We do such comparisons in tests quite a bit. But it currently doesn't
become an issue because of the way EXPECT_EQ copies its input parameters
to non-const locals. In a future patch, that copying will be removed,
and the compiler would otherwise complain about not finding a suitable
comparison operator.
2024-08-13 14:11:05 +02:00
..
2024-02-11 18:53:00 +01:00
2024-03-23 09:02:58 -04:00
2024-06-18 09:36:25 +02:00
2024-06-18 09:36:25 +02:00
2024-06-18 09:36:25 +02:00
2024-01-21 16:16:15 -07:00
2024-06-26 05:47:16 +02:00
2024-01-12 16:42:51 -07:00
2024-07-17 09:56:13 -06:00
2024-06-18 09:36:25 +02:00
2024-02-11 18:53:00 +01:00
2024-02-11 18:53:00 +01:00
2024-06-18 09:36:25 +02:00