dxx-rebirth/common
Kp 33d938ac06 Prepare exact_type for clang-13 in C++20 mode
clang-13 in C++20 mode fails:

```
similar/main/newmenu.cpp:202:18: error: ISO C++20 considers use of overloaded operator '==' (with operand types 'exact_type<const dcx::grs_font>' and 'exact_
type<const dcx::grs_font>') to be ambiguous despite there being a unique best viable function [-Werror,-Wambiguous-reversed-operator]
    return &cv_font == &game_font ? "\202" : "\207";  // 135
	   ~~~~~~~~ ^  ~~~~~~~~~~
common/include/pack.h:31:17: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
    constexpr bool operator==(const T *rhs) const { return p == rhs; }
		   ^
```

Add an operator== that exactly matches the input types so that clang
does not attempt a conversion.
2022-07-02 18:10:45 +00:00
..
2d Fix high score background truncation 2021-12-01 03:08:27 +00:00
3d Precompute g3_draw_line GL color data 2022-06-05 17:44:52 +00:00
arch Use Mix_LoadMUSType_RW for named files, too 2022-03-19 22:55:58 +00:00
editor Return string width/height from gr_get_string_size 2021-09-12 16:20:52 +00:00
include Prepare exact_type for clang-13 in C++20 mode 2022-07-02 18:10:45 +00:00
main Use named enum types for netflag and netgrant 2022-07-02 18:10:45 +00:00
maths Remove quadint members low, high 2022-05-24 02:32:58 +00:00
mem Refer to <array> directly, not through "compiler-array.h" 2020-05-02 21:18:42 +00:00
misc Remove unnecessary members in splitpath_t 2022-06-11 15:00:02 +00:00
music
texmap Require support for C++17 attribute [[fallthrough]] 2022-01-09 15:25:42 +00:00
ui Tighten type info for d_strdup 2022-04-24 20:42:01 +00:00
unittest Add unit tests for enumerate 2022-02-13 19:13:38 +00:00