NVIDIA / jitify

A single-header C++ library for simplifying the use of CUDA Runtime Compilation (NVRTC).
BSD 3-Clause "New" or "Revised" License
518 stars 64 forks source link

Add std::make_unsigned/signed support to <type_traits> #89

Closed Robadob closed 3 years ago

Robadob commented 3 years ago

https://en.cppreference.com/w/cpp/types/make_unsigned https://en.cppreference.com/w/cpp/types/make_signed

Doesn't support char8_t, char16_t or char32_t, but all the common types should be supported. Chose to be explicit about signed throughout, due to the nature of char being neither signed nor unsigned.

With this, #88 and the patch which has been merged to GLM, it's now possible to build with GLM includes (some of the many GLM extensions might be unsupported, but I expect the core vector maths all works). Haven't used this yet, but will come in use to FLAMEGPU2 in future.