Answer the question
In order to leave comments, you need to log in
What does the prefix "_di_" before variable type in C++?
In all the educational literature I did not find a word about this prefix, while in many examples it is present. In this case, in the case of using a variable type without this prefix, a lot of errors fly out that are not at all linked to the declaration of variables.
For example, this prefix is used in this form:
_di_IXMLNode data = this->XMLDocument->ChildNodes->Get(i);
Answer the question
In order to leave comments, you need to log in
[code]typedef System::DelphiInterface _di_IXMLNode[/code]
This prefix is most likely specific to C++ Builder. There is nothing like this in normal C++ and there shouldn't be.
C++ does not have the concept of a "type prefix" per se. Therefore, the prefix in the language does not mean anything. The prefix can mean whatever the author of some class library puts into it, if he defines types with and without a prefix that have different meanings.
But, I repeat, in C ++ itself there is no such concept at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question