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-12 18:04:16 +01:00
2020-11-10 19:03:08 +01:00
2020-11-11 12:27:25 +01:00
2020-11-14 22:09:48 +01:00
2020-11-14 10:44:47 +01:00
2020-11-04 21:21:37 +01:00
2020-11-01 10:30:20 +01:00
2020-08-12 20:40:59 +02:00
2020-11-20 21:18:14 +01:00
2020-11-01 10:19:17 +01:00
2020-11-10 19:11:52 +01:00
2020-09-27 19:46:04 +02:00
2020-11-10 19:03:08 +01:00
2020-11-10 19:11:52 +01:00
2020-11-11 12:27:25 +01:00
2020-11-12 18:04:30 +01:00
2020-09-25 21:18:17 +02:00
2020-08-25 09:48:48 +02:00
2020-09-25 21:18:17 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-11-12 18:04:16 +01:00
2020-08-11 20:29:14 +02:00
2020-11-02 12:56:36 +01:00
2020-11-02 12:56:36 +01:00
2020-08-22 20:55:10 +02:00
2020-09-25 21:18:17 +02:00
2020-08-22 20:55:10 +02:00
2020-09-13 21:19:15 +02:00
2020-08-10 20:05:18 +02:00
2020-11-11 12:27:25 +01:00
2020-08-17 09:57:18 +02:00
2020-08-10 11:51:45 +02:00
2020-09-25 21:18:17 +02:00
2020-11-10 19:11:52 +01:00
2020-11-10 19:03:08 +01:00
2020-08-19 21:21:34 +02:00
2020-08-19 21:21:34 +02:00
2020-08-16 16:33:28 +02:00
2020-08-10 11:51:45 +02:00
2020-09-13 21:19:15 +02:00
2020-09-25 21:18:17 +02:00
2020-08-25 09:48:48 +02:00
2020-08-25 09:48:48 +02:00
2020-08-26 08:52:07 +02:00
2020-11-10 19:11:52 +01:00
2020-09-27 19:46:04 +02:00
2020-11-10 19:11:52 +01:00
2020-08-10 11:51:45 +02:00
2020-11-11 12:27:25 +01:00
2020-09-13 21:19:15 +02:00
2020-10-02 15:38:07 +02:00
2020-09-25 21:18:17 +02:00
2020-11-12 10:18:16 +01:00
2020-10-26 08:57:25 +01:00
2020-08-10 11:51:45 +02:00
2020-08-10 11:51:45 +02:00
2020-08-25 09:48:48 +02:00
2020-08-25 09:48:48 +02:00
2020-09-27 01:02:11 +02:00
2020-09-22 15:06:40 +02:00
2020-09-15 20:36:45 +02:00
2020-09-25 21:18:17 +02:00
2020-09-25 21:18:17 +02:00
2020-10-08 09:54:41 +02:00