Created
January 21, 2019 08:14
-
-
Save renaudcerrato/95105a027916a249d9af7c90ceafd440 to your computer and use it in GitHub Desktop.
__auto_type usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define max(a,b) \ | |
({ __auto_type _a = (a); \ | |
__auto_type _b = (b); \ | |
_a > _b ? _a : _b; }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment