V
vineoff
When you should not or can't use const references?
Like
void f ( const Foo& b) ;
or
int main() { const int& r = 5; }
Like
void f ( const Foo& b) ;
or
int main() { const int& r = 5; }
vineoff said:When you should not or can't use const references?
Like
void f ( const Foo& b) ;
or
int main() { const int& r = 5; }
vineoff said:When you should not or can't use const references?
Like
void f ( const Foo& b) ;
or
int main() { const int& r = 5; }
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.