New syntax broken?.
After worked on ItHunts I discovered maybe a bug very annoying.
Look this: PHP Code:
PHP Code:
Yes you are right, but one is broken. PHP Code:
|
Re: New syntax broken?.
I don't think you need to use view_as when comparing two integers.
|
Re: New syntax broken?.
yeah the precedence is wrong, just wrapit in parentheses or use _:
|
Re: New syntax broken?.
Quote:
|
Re: New syntax broken?.
Side note: view_as<int>something is not supposed to be valid syntax and will fail if you're using a recent SM 1.8 compiler. view_as<int>(something) is the correct syntax.
|
Re: New syntax broken?.
I'm guessing the first code snippet is the errant one. I reported this bug back in June. No word on it.
Two stopgaps: PHP Code:
|
Re: New syntax broken?.
Quote:
Quote:
Quote:
Quote:
|
| All times are GMT -4. The time now is 22:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.