Files
ladybird/Kernel
Lenny Maiorani bdf3baa8ac MACAddress: AK::Array as member variable instead of C-array
Problem:
- C-style arrays do not automatically provide bounds checking and are
  less type safe overall.
- `__builtin_memcmp` is not a constant expression in the current gcc.

Solution:
- Change private m_data to be AK::Array.
- Eliminate constructor from C-style array.
- Change users of the C-style array constructor to use the default
  constructor.
- Change `operator==()` to be a hand-written comparison loop and let
  the optimizer figure out to use `memcmp`.
2020-11-20 21:18:14 +01:00
..
2020-11-10 19:03:08 +01:00
2020-09-27 19:46:04 +02:00
2020-11-10 19:03:08 +01:00
2020-08-22 20:55:10 +02:00
2020-08-22 20:55:10 +02:00
2020-11-11 12:27:25 +01:00
2020-11-10 19:03:08 +01:00
2020-08-10 11:51:45 +02:00
2020-09-27 19:46:04 +02:00
2020-08-10 11:51:45 +02:00
2020-11-11 12:27:25 +01:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-09-27 01:02:11 +02:00