const unsigned int omode = cimg::exception_mode();
cimg::exception_mode() = 0;
Never see this kinda syntax before.
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.
exception mode might be returning a reference, and it is being set to 0. For example:
So, the second line would be equivalent to:
BTW, it is really ugly! I would avoid this kinda syntax as much as I could.