
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
in the MQL5 Reference I cannot find any information about the constructors of classes that define generic collections.
For example how do I know the constructors of the class CSortedMap?
You can find this info if you generate a compiler error. But this is a very strange way, isn't it?
Compile this and you will see:
'CSortedSet<int>' - no one of the overloads can be applied to the function call CtorInfo.mq5 4 20
could be one of 6 function(s) CtorInfo.mq5 4 20
CSortedSet<int>::CSortedSet<int>(int&[],IComparer<int>*) SortedSet.mqh 27 22
CSortedSet<int>::CSortedSet<int>(int&[]) SortedSet.mqh 26 22
CSortedSet<int>::CSortedSet<int>(ICollection<int>*,IComparer<int>*) SortedSet.mqh 25 22
CSortedSet<int>::CSortedSet<int>(ICollection<int>*) SortedSet.mqh 24 22
CSortedSet<int>::CSortedSet<int>(IComparer<int>*) SortedSet.mqh 23 22
CSortedSet<int>::CSortedSet<int>() SortedSet.mqh 22 22
1 errors, 0 warnings 2 1
My maxim is:
Life without docu is possible!
Matthias