const unsigned int omode = cimg::exception_mode();
cimg::exception_mode() = 0;
Never see this kinda syntax before.
exception mode might be returning a reference, and it is being set to 0. For example:
unsigned int& exception_mode() { return mode; };
So, the second line would be equivalent to:
void set_exception_mode( uint v ) { mode = v; };
BTW, it is really ugly! I would avoid this kinda syntax as much as I could.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With