dxx-rebirth/common
Kp fcb6beb3e8 Add check that d_array<E> is not unsigned int or unsigned long
`std::size_t` is `unsigned int` on i686-pc-linux-gnu, but is `unsigned
long` on x86_64-pc-linux-gnu.  This mismatch allows d_array<E =
std::size_t> to be well-formed on x86_64, but trigger a duplicate
definition of operator[](E) on i686.  Add a requires() check that
forbids both types for E, so that code which would break the i686 build
is also diagnosed in the x86_64 build.
2022-10-09 23:15:20 +00:00
..
2d Pass std::span to decode_data 2022-09-24 17:47:52 +00:00
3d Use enum class for clipping_code 2022-10-02 19:51:35 +00:00
arch Use std::ranges::find_if instead of std::find_if 2022-10-09 23:15:20 +00:00
editor Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
include Add check that d_array<E> is not unsigned int or unsigned long 2022-10-09 23:15:20 +00:00
main Add check that d_array<E> is not unsigned int or unsigned long 2022-10-09 23:15:20 +00:00
maths
mem
misc Test whether change_filename_extension succeeded before using its output 2022-10-09 23:15:20 +00:00
music
texmap Pass std::span to draw_tmap, draw_tmap_flat 2022-09-24 17:47:52 +00:00
ui Use std::ranges::find_if instead of std::find_if 2022-10-09 23:15:20 +00:00
unittest Make enumerate() default to std::size_t for index_type 2022-10-09 23:15:20 +00:00