Kp
afb7406127
Pass std::span to callsign_t::copy_lower
2022-12-10 18:09:54 +00:00
Kp
49fccd64ad
Use explicitly defaulted callsign_t::operator==
2022-10-09 23:15:19 +00:00
Kp
9d238eedf8
Pass std::span to callsign_t::copy
2022-09-24 17:47:53 +00:00
Kp
8c5eff2ba0
Remove unused return value of callsign_t::copy
2022-05-10 01:58:55 +00:00
Kp
7b7145f20a
Simplify zeroing callsign on copy-in
...
Zero the entire array, then overwrite the leading portion with the
received data. This permits the compiler to do a fixed number of large
stores, instead of a variable number of small stores.
2022-05-10 01:58:55 +00:00
Kp
e1aac6949a
Replace __attribute_warn_unused_result with C++17 [[nodiscard]]
...
This eliminates a configure test, and may help readers understand the
annotation more readily.
2021-06-28 03:37:51 +00:00
Kp
8839f538e0
Refer to <array> directly, not through "compiler-array.h"
2020-05-02 21:18:42 +00:00
Kp
3170b11997
Modernize typedefs for std::array types
...
Use `using x = y;` instead of `typedef y x;`.
2020-05-02 21:18:42 +00:00
Kp
53761500f1
Qualify uses of std::array
2020-05-02 21:18:42 +00:00
Kp
f899aaeaca
Move player callsign to player-callsign.h
2015-07-25 23:10:45 +00:00