Warning C26482
Only index into arrays using constant expressions.
See also
Example
int getSomeIndex();
void function(int* p, int count)
{
p[getSomeIndex()] = 0; // C26482, Only index into arrays using constant expressions
}
Deze browser wordt niet meer ondersteund.
Upgrade naar Microsoft Edge om te profiteren van de nieuwste functies, beveiligingsupdates en technische ondersteuning.
Only index into arrays using constant expressions.
int getSomeIndex();
void function(int* p, int count)
{
p[getSomeIndex()] = 0; // C26482, Only index into arrays using constant expressions
}