A
A
Artem Sorokin2013-06-29 19:13:27
Programming
Artem Sorokin, 2013-06-29 19:13:27

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);


Can you please explain what this plugin does?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolai Shley, 2013-06-29
@artyums

[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.

T
turboNOMAD, 2013-06-29
@turboNOMAD

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 question

Ask a Question

731 491 924 answers to any question