D
denis
What are the benefits of using const functions?
How does the compiler interpret const functions?
Thanks, Denis
How does the compiler interpret const functions?
Thanks, Denis
denis said:What are the benefits of using const functions?
How does the compiler interpret const functions?
Thanks, Denis
your friend: Immutable values are easier to understand, track, andFrom _C++ Coding Standards_ (p. 30, parentheses deleted): "const is
denis said:What are the benefits of using const functions?
How does the compiler interpret const functions?
Thanks, Denis
You know what might get changed and what not! About the compiler, I
think const does not have any influence on the object code, in the
sense that it makes the resulting machine code slower (or faster).
What are the benefits of using const functions?
How does the compiler interpret const functions?
Thanks, Denis
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.