הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'name' : arrays of references are illegal
Remarks
Because pointers to references are not allowed, arrays of references are not possible.
Example
The following example generates C2234:
// C2234.cpp
int main() {
int i = 0, j = 0, k = 0, l = 0;
int &array[4] = {i,j,k,l}; // C2234
int array2[4] = {i,j,k,l}; // OK
}