Here is a example of a define statement in the my code shown below under heading Definition. It is used as shown further below code under heading Usage. Here are my questions if you can help.
1) I am guessing '>CMAR_ENTRY_CHILD_REF2' is replaced by '(mMar, parenthesizedArgList)' wherever I use it. Is this an accurate statement?
2) if above statement 1) is correct, the function does not have a name? I havent seen that in C++ before. Can you define a function without a name?
3) What is the '\' in the code right after the code 'parenthesizedArgList' and after 'parenthesizedArgList)\{'?
4) If you have any links that explains below, please let me know. It is hard to google search this.
//Definition
#define CMAR_ENTRY_CHILD_REF2(mMar, parenthesizedArgList)\
{\
string name="";
};
//Usage
CMAR_ENTRY_CHILD_REF2(m_array[0], (strName, GetSafeArraye(curve)));
What I have tried:
i have looked online. I understand basic define statements for now.