Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 17, 2021

Conversation

Robadob
Copy link
Contributor

@Robadob Robadob commented May 15, 2021

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.

Copy link
Member

@benbarsdell benbarsdell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@benbarsdell benbarsdell merged commit 4720179 into NVIDIA:master May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants