a variable in cpu isn't that right ?
i saw on a site that it is better to avoid register keyword
why would i avoid it
It got deprecated in newest standards of C++, and it's pretty much ignored by modern compilers.
because there is limit and compiler manages better. just use it when you know what's happening otherwise you will hit performance. for that much control you are in a wrong level.
i think its also a luck that u variable is gonna store in register
Обсуждают сегодня