我知道const_cast使用指针和引用。int (){使用std:: cout;#定义endl '\n‘const int *ip =新int(123);const int * ptr = ip;*const_castconst_cast 与const int
int main() {使用std:: cout;#de
<<endl;};
{ Foo &fr=const_cast<Foo&>(f);1>c:\documents and settings\beata\my documents\visual studio 2008\projects\const_cast\const_cast\const_cast.cpp\const_cast\const_c
CFDictionaryRef dictionary; error: const_cast from 'CFDictionaryRef__CFDictionary *') to 'void *' is not allowed
CFDictionaryApplyFunction(scoped, setDictionary, const_cast