-
Notifications
You must be signed in to change notification settings - Fork 74
Conversation
@benbarsdell
benbarsdell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
Just a few small additions needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a separate specialization for char (which is a distinct type and not necessarily signed or unsigned).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a separate specialization for signed char.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also need specializations to preserve CV-qualifiers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also need specializations to preserve CV-qualifiers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a specialization for bool with no implementation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a specialization for bool with no implementation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also can you add a TODO noting that there are more complicated rules for enums, char, wchar_t etc. that aren't implemented here.
maddyscientist
commented
May 28, 2020
@jglaser just wondering if you'll get round to making the requested changes for this nice PR? Thanks.
To enable compilation of code which includes the Random123 RNG library, we need the
std::make_signed<>templates, which I am adding in this PR.