It's a shame that working with data in mat mode is more theory than practice.
This is a peculiarity of the tester in general, not of the mat mode - the optimised program is loaded by the agent once for efficiency purposes, as far as I know.
This is a feature of the tester in general, not of the mat.mode - the optimised program is loaded by the agent once for efficiency purposes, as far as I know.
But this programme has to load the data on every pass.
I assume that the described empty (or rather, "rubbish" because it is not initialised with anything) global array is allocated only once - during loading before the first pass. The point was that it seems to waste extra time on memory reallocation in case of a dynamic array, while here there are no such repetitive costs.
I am having some problems using templates when writing the function body outside the function class. I've already looked in the documentation but I didn't find anything related to this..
Compiling this code I am getting the following error:"function 'Test::test' already defined and has different return type"
template<typename any>
struct Optional {
any value;
};
class Test {
public:
template<typename any>
Optional<any> test();
};
template<typename any>
Optional<any> Test::test() {
returnOptional<any>();
But, if I write the function body inside the class I get no error:
template<typename any>
struct Optional {
any value;
};
class Test {
public:
template<typename any>
Optional<any> test() {
returnOptional<any>();
}
};
Could someone help me to understand how to solve this problem? (I don't want to mark the whole class as template)
Радиус примагничивания курсора мыши при выделении графических объектов. Надо просто добавить установочные файлы в исключения этого антивирусника и Некоторые проблемы с отрисовкой и срабатыванием контролов тестера. Зависает Play видно по кликам которые сопровождаются желтым кружком. Ползунок пропадает и вместо него выводится Tooltip контрола
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I think it's just not the optimal reserve in ErrayResize that is used inside FileLoad.
It's unambiguous there
I think, just not optimal reserve in ArrayResize is used inside FileLoad.
Why "not optimal"? You have 1000 ArrayResize vs 1 static array, this is a perfectly normal result.
1000 ArrayResize should take 15 milliseconds (since my test shows that a single ArrayResize takes ~15 microseconds)
1000 ArrayResize should take 15 milliseconds (since my test shows that a single ArrayResize takes ~15 microseconds)
It's a shame that working with data in mat mode is more theory than practice.
This is a peculiarity of the tester in general, not of the mat mode - the optimised program is loaded by the agent once for efficiency purposes, as far as I know.
This is a feature of the tester in general, not of the mat.mode - the optimised program is loaded by the agent once for efficiency purposes, as far as I know.
But this programme has to load data at each pass.
But this programme has to load the data on every pass.
I assume that the described empty (or rather, "rubbish" because it is not initialised with anything) global array is allocated only once - during loading before the first pass. The point was that it seems to waste extra time on memory reallocation in case of a dynamic array, while here there are no such repetitive costs.
Hello everyone, I'm pretty new here..
I am having some problems using templates when writing the function body outside the function class. I've already looked in the documentation but I didn't find anything related to this..
Compiling this code I am getting the following error: "function 'Test::test' already defined and has different return type"
But, if I write the function body inside the class I get no error:
Compiling this code, I get the following error: " function 'Test::test' is already defined and has a different return type".