Lioncash 686d067271 common/swap: Mark byte swapping free functions with [[nodiscard]] and noexcept
Allows the compiler to inform when the result of a swap function is
being ignored (which is 100% a bug in all usage scenarios). We also mark
them noexcept to allow other functions using them to be able to be
marked as noexcept and play nicely with things that potentially inspect
"nothrowability".
2019-04-15 17:56:09 +02:00
..
2018-09-06 16:03:28 -04:00
2018-09-06 16:03:28 -04:00
2018-09-06 16:03:28 -04:00
2018-09-06 16:03:28 -04:00
2018-09-06 16:03:28 -04:00
2018-10-20 10:35:55 -04:00
2019-03-09 19:15:35 -06:00
2018-09-06 16:03:28 -04:00
2018-09-06 16:03:28 -04:00
2018-09-19 07:14:36 +01:00
2019-03-10 19:18:09 -05:00
2019-03-10 19:18:09 -05:00
2018-09-06 00:00:21 +02:00