We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#include <algorithm> #include <numeric> #include "icecream.hpp" using namespace std; #define DETECT_TYPE(x) \ do \ { \ IC(sizeof(x)); \ IC_("d", std::numeric_limits<x>::max()); \ IC_("d", std::numeric_limits<x>::min()); \ IC_("d", std::numeric_limits<x>::lowest()); \ } while (0) int main(int argc, char **argv) { DETECT_TYPE(char); DETECT_TYPE(unsigned char); return 0; }
expect: it should display max: 128, min: -127, lowest: -127 gcc 11.2 linux
The text was updated successfully, but these errors were encountered:
No branches or pull requests
expect: it should display max: 128, min: -127, lowest: -127
gcc 11.2 linux
The text was updated successfully, but these errors were encountered: