virtul
virtul
Some of them are clang-specific (might even require /permissive-), other - msvc. Example of warning variant.h(133,24): error: unused parameter 'pThis' [-Werror,-Wunused-parameter]
Actual crash happened due to _OP_CALL target argument is overflowed signed char (7 bit). Treat argument as as unsigned (with exception of value -1/255 which is special) in order to...
...instead of including std headers. This ways we save compilation times AND prevent unathorized use of std containers
It supported it since forever, there is no point not to use it
Do forward declare all necessary intrinsic funcs in-place to avoid including as on clang-cl it's includes a lot of headers. Also enable accelerated intrin code path on arm64 in bitset
variant,tuple: fix/silence misc warnings msvc: https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5267 Similar to neighboring C4625 Fix for warnings (errors in /WX mode) like .../variant.h(759): warning C5267: definition of implicit copy constructor for '...' is deprecated...
to silence string's swap warning (perhaps only when it's part of pair?) It obviously fails compilation with -Werror (treat warnings as errors) Full error looks like: In file included from...
...or any other type that has deleted dtor. ``` const this_type temp(*this); //
Different empty instances of hashtable (hast_map, hash_set...) are all pointing to the same global memory region `gpEmptyBucketArray`. Rewrite `hashtable::DoFreeNodes` in such way to avoid writing into said memory. Caught by...