إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
Don't use
const_castto cast awayconst.const_castis not required; constness or volatility is not being removed by this conversion.
See also
Example
void function(int* const constPtrToInt)
{
auto p = const_cast<int*>(constPtrToInt); // C26465, const is not being removed
}