I have seen this macro defined before but never really knew its purpose. Can anyone shed light on this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is a compiler intrinsic used for optimization, typically seen in embedded programming. The only time I have seen it used is in the ‘default’ for a switch statement to assert that the variable has a limited range (for better optimization). Example:
Probably doesn’t work with all compilers…