Quantcast
Channel: User Peter - Reinstate Monica - Stack Overflow
Viewing all articles
Browse latest Browse all 223

Comment by Peter - Reinstate Monica on C++ function with const pointer parameter

$
0
0
Re "In the second case you are trying to create a non-const pointer from a const one": No. the OP is trying to create a pointer to non-const from a pointer to const. None of the pointers themselves is const.

Viewing all articles
Browse latest Browse all 223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>