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
Yeah, I guess I should give it a plus sign ))
Good illustration of the pointlessness of the "why?" question. Maybe there are other questions? :)
:) A thought - is there some other way to do it in VS? Or is it useless?
:) I have an idea - maybe VS should have a different way of doing things?
Yeah.
yes.
By the way, that doesn't work either:
This is how it works:
There you go, the plushie's off :). Thank you.
No, no, no, no! Keep the plus. "MS sucks, MQ is king!"
You can also go like this:
The main thing to remember is that C++ rules are designed to compile sequentially.VS is right of course. The declaration will suffice if you take the fn2 function implementation outside the class and after the cl2 definition.
Since the function is defined right in the body, a simple declaration does not work (although passing by reference), because cl2 definition is required for the function to work.
Either a bug or a bug. Most likely it is the latter, but better to clarify.