|
|
|
@ -1198,7 +1198,9 @@ struct HasComplexArray
@@ -1198,7 +1198,9 @@ struct HasComplexArray
|
|
|
|
|
class DLL_API TestIndexedProperties |
|
|
|
|
{ |
|
|
|
|
public: |
|
|
|
|
mutable int field; |
|
|
|
|
int operator[](const int& key); |
|
|
|
|
void* operator[](size_t n) const; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
int TestIndexedProperties::operator[](const int& key) |
|
|
|
@ -1206,6 +1208,12 @@ int TestIndexedProperties::operator[](const int& key)
@@ -1206,6 +1208,12 @@ int TestIndexedProperties::operator[](const int& key)
|
|
|
|
|
return key; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void* TestIndexedProperties::operator[](size_t n) const |
|
|
|
|
{ |
|
|
|
|
field = n; |
|
|
|
|
return &field; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
extern const ComplexArrayElement ArrayOfVariableSize[]; |
|
|
|
|
|
|
|
|
|
void useStdStringJustAsParameter(std::string s); |
|
|
|
|