summaryrefslogtreecommitdiff
path: root/AK/Endian.h
AgeCommit message (Collapse)Author
2020-10-08Endian: constexpr constructors and conversion operatorsLenny Maiorani
Problem: - Constructors and conversion operators are not `constexpr`, but they can be. - `constexpr` is needed here so that other classes can add `constexpr` evaluation. Solution: - Add the `constexpr` keyword to the constructors and conversion operators. - Add `static_assert` tests which ensure the capability works.
2020-08-29AK: Don't swap endianness when writing endian wrappers to stream.asynts
2020-08-25AK: Add Endian.h header to replace NetworkOrdered.h.asynts