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
So this is what I mean, if you can reduce it to a simple use case like that - write a demo class with those 5 signatures in a simple class that shows the applicability of that, it would be much more useful than that code and might motivate someone to look into it more deeply.
So this is what I mean, if you can reduce it to a simple use case like that - 5 signatures in a simple class that shows the applicability of that, it would be much more useful than that code and might motivate someone to look into it more deeply.
I mean, you say that I need 5 push signatures, and not need the three classes (one base, two extensions that call only the protected base methods - they don't duplicate the logic) - so can you complete it or post a one class with 5 signatures. Becasue I still don't understand if that task is simple with your approach or not.
I mean, you say that I need 5 push signatures, and not need the three classes (one base, two extensions that call only the protected base methods - they don't duplicate the logic) - so can you complete it or post a one class with 5 signatures. Becasue I still don't understand if that task is simple with your approach or not.
Yes, I can...
Here is a framework-structure, can be defined as class as well, depending on how you handle instances of your filo_buffer, or containers in general...
EDIT: Providing a fully working and tested example....
Yes, I can...
Here is a framework-structure, can be defined as class as well, depending on how you hadle instances of your fifo_buffer, or containers in general...
EDIT: Providing a fully working and tested example....
Yes, the template was enough to clarify the substance of the idea. That long discussion with Alain should be concluded with that because I think most people did not bother to follow those neuances and expected some kind of simplified conclusion like this one (yes, time is maybe most expensive these days).
So now it's clear, nice work by Alain and yourself.
Yes, the template was enough to clarify the substance of the idea. That long discussion with Alain should be concluded with that because I think most people did not bother to follow those neuances and expected some kind of simplified conclusion like this one (yes, time is maybe most expensive these days).
So now it's clear, nice work by Alain and yourself.
No, that could not be left as it was. You two followed the process in your discussions, and very good you motivated each other, because your findings are too big to be left aside. Yes, you bothered to lay down all the trees in the playground, but I think most people did not even try to see the forest and follow your path themselves becuase they wrongly assumed that you post some kind of forest. At least I did.
But again, you two made great revelation, really.
Yes, I can...
Here is a framework-structure, can be defined as class as well, depending on how you handle instances of your filo_buffer, or containers in general...
EDIT: Providing a fully working and tested example....
BTW, I don't quite understand the use of that signature, I removed it and it still works
BTW, I don't quite understand the use of that signature, I removed it and it still works
Pass in an object of derived type, thats what it is for.
EDIT:
Usage is for a container of type pointer, where you want to pass in an object by reference and get a pointer from it and assign it to the base class pointer type.
Or, when looking at my Playground example, lets say you are using a derived type of MqlRates and you want to be able to pass in a struct of base-type MqlRates from a MQL Systemcall iE CopyRates(), and want to be able to assign the struct to its derived type.
There is a reason why the playground needs to be understood, and it all depends on your specific usecase, of course.
I don't consider I played a serious role on this, it's Dominik's merit, he has demonstrated it's "possible".
I am personally not satisfied with such solution, having to write 4 versions (at least) of a method each time you need something "generic". This is not even considering the const correctness. I am still hoping and trying to have some improvements on MQL itself. We will see.
Everyone is free to use it or not, so that's a step forward.