Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@HenryRLee
Copy link
Contributor

@HenryRLee HenryRLee commented Jan 25, 2019

Fix a typo in the static assert message in make_unsigned

Support more specifications for make_unsigned

Thank you for submitting a PR!

Please make sure you include the names of the affected language(s) in your PR title.
This helps us get the correct maintainers to look at your issue.

If you make changes to any of the code generators, be sure to run
cd tests && sh generate_code.sh (or equivalent .bat) and include the generated
code changes in the PR. This allows us to better see the effect of the PR.

If your PR includes C++ code, please adhere to the Google C++ Style Guide,
and don't forget we try to support older compilers (e.g. VS2010, GCC 4.6.3),
so only some C++11 support is available.

Include other details as appropriate.

Thanks!

@HenryRLee HenryRLee force-pushed the typeTraits branch 2 times, most recently from 33c9485 to 1e76492 Compare January 25, 2019 11:09
@aardappel
Copy link
Collaborator

Thanks! I don't understand the message change though, as this feature is implemented using template specialization.

@HenryRLee
Copy link
Contributor Author

@aardappel I thought the original author was trying to use the word specification instead of specialization, so that when the type argument is a signed number but is none of char or int, the error message would show. But anyway, I can keep the original message if I understood incorrectly.

@aardappel
Copy link
Collaborator

Yes, I don't think specification was intended.

@HenryRLee
Copy link
Contributor Author

I see. I've unchanged the message, fixing the typo only.

Fix a typo in the static assert message in `make_unsigned`

Support more specifications for `make_unsigned`
@aardappel
Copy link
Collaborator

CI error appears unrelated, merging, thanks!

@aardappel aardappel merged commit d8210d5 into google:master Jan 29, 2019
zchee pushed a commit to zchee/flatbuffers that referenced this pull request Feb 14, 2019
Fix a typo in the static assert message in `make_unsigned`

Support more specifications for `make_unsigned`
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