Errors, bugs, questions - page 2675
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
Another MT5(build 2316) bug with template class code generation when using internal class.
C++ online:https://onlinegdb.com/HJkKXAqMU
Thanks for the post, fixed
Bug MT5(build 2340) Compilation error when attempting to access the internal class for a template parameter of a template function.
Thanks for the post, fixed
What encoding is the file in?
In standard UTF-8
I've tried different encodings and different separators.
The result is either 5008 or hieroglyphs.
Two questions immediately for the MT5 compiler (build 2321):
1. The priorities of executing template functions in MQL do not correspond to those of template functions in C++ (online: https://onlinegdb.com/Hkvz8Hu7L).
So in C++, when all three template functions are present, the template function with the result "C++:1" is executed, if it is removed then "C++:2" is executed, and if it is removed then "C++:3" is executed.
The priorities in MQL are quite different: "C++:2" followed by "C++:1" and "C++:3".
It's not clear why the first of the functions is prohibited in MQL, while the identical function with a dummy parameter is already allowed:
Thanks for the message, fixed
In standard UTF-8
I've tried it in different ways, with different encodings and different delimiters.
The result is either 5008 or hieroglyphs.
Please provide a working code with a file to investigate
On the work of the site:
Balance display in my personal account is a little off, if you can correct it, it's a lot of zeros
Please provide a working code with a file to investigate
In C++ it compiles and works (online: https://onlinegdb.com/Syn90dd7I), but in MQL the error: "'func' - ambiguous call to overloaded function"
Thanks for the post, fixed
In standard UTF-8
I've tried it in different ways, with different encodings and different delimiters.
The result is either 5008 or hieroglyphs.
The encoding is ANSI, it will only work in Russian Windows.
Add FILE_ANSI flag, when opening a file
Bug MT5 (build 2340) when an internal struct is passed to a template function, the resulting data type cannot be used as a base data type for another internal struct in a template class: