OK, so does that mean that using const_cast to cast away the "const-ness" of the variable produces unex[pected results? If that is true then const_cast is no good for anything!
Type: Posts; User: mavroprovato
OK, so does that mean that using const_cast to cast away the "const-ness" of the variable produces unex[pected results? If that is true then const_cast is no good for anything!
i'm using the gcc compiler for windows and when running the following program
#include <iostream>
using namespace std;
int main() {
const int i = 100;
int *ip = const_cast<int...