Yes, let's listen to the developers. I have now taken advantage of this convenient hole. If they close it, I'll have to find other ways.
class A
{
protected:
int field;
public:
A() { field = rand(); }
A(const A &origin)
{
field = origin.field;
}
};
class B: public A
{
public:
B(const A &origin):A(origin){}int getField(void) const
{
return field;
}
};
voidOnStart()
{
A a;
B b(a);
Print(b.getField());
}
Gee ;-) This way doesn't "roll", because it requires changing the base class, which is in someone else's library. If you patch it, it's a lot of things - I was talking about these "ways", but it's not optimal in terms of support and distribution.
Gee ;-) This way doesn't "roll", because it requires changing the base class, which is in someone else's library. If you patch it, then many things - I was talking about these "ways", but it's not optimal in terms of support and distribution.
Hmm, if the library doesn't provide a public setter and getter for this field, then who needs it? )) We should sort of make a facade for the library apparently.
Hello all! Can you tell me how, where the desktop configuration is stored in MT4. Was reinstalling on a new laptop with Windows10. Probably hit some button with my mouse. Accidentally activated something with this touchpad just. Now every time I start up it shows a full screen graph. I bring it back to standard view, work, disconnect - next time it's all over again... Been looking for some command like "remember configuration"!
Hmm, if the library didn't provide a public setter and getter for this field, does that mean someone needs it? )) You should kind of make a facade for the library.
Most likely, they just did it anyway, without bothering about scalability. This is in fact a standard library. ;-) In the absence of getters and with a massive private, the virtual methods are virtually useless (you won't be able to redefine them at all). Facade will not help here, only a patch or rewrite. By the way, is there any adaptation/extension of standard controls library? I'm not talking about completely different libraries.
Yes, let's listen to the developers. I have now taken advantage of this convenient hole. If they close it, I'll have to find other ways.
Gee ;-) This way doesn't "roll", because it requires changing the base class, which is in someone else's library. If you patch it, it's a lot of things - I was talking about these "ways", but it's not optimal in terms of support and distribution.
Yes, let's listen to the developers. I have now taken advantage of this convenient hole. If they close it, I will have to find other ways.
I'm afraid it will ruin my projects too.
Gee ;-) This way doesn't "roll", because it requires changing the base class, which is in someone else's library. If you patch it, then many things - I was talking about these "ways", but it's not optimal in terms of support and distribution.
Hmm, if the library doesn't provide a public setter and getter for this field, then who needs it? )) We should sort of make a facade for the library apparently.
Can you tell me how, where the desktop configuration is stored in MT4. Was reinstalling on a new laptop with Windows10. Probably hit some button with my mouse. Accidentally activated something with this touchpad just. Now every time I start up it shows a full screen graph. I bring it back to standard view, work, disconnect - next time it's all over again...
Been looking for some command like "remember configuration"!
I don't know about the function keys for MT4 at all... Only the graphical buttons.
Hmm, if the library didn't provide a public setter and getter for this field, does that mean someone needs it? )) You should kind of make a facade for the library.
Most likely, they just did it anyway, without bothering about scalability. This is in fact a standard library. ;-) In the absence of getters and with a massive private, the virtual methods are virtually useless (you won't be able to redefine them at all). Facade will not help here, only a patch or rewrite. By the way, is there any adaptation/extension of standard controls library? I'm not talking about completely different libraries.