thx
For super I use this pattern
class Shared_Pointer_Subscriber : public Shared_Pointer{ #define Shared_Pointer_Subscriber_SUPER Shared_Pointer public: void Shared_Pointer_Subscriber(Subscriber* subscriber) // Ctor : Shared_Pointer_Subscriber_SUPER(subscriber){}
I wanted to call another constructor in the same class, not in super class.
WHRoeder, I didn't understand what you are trying to show.
From what I understand, you are calling the super constructor in Shared_Pointer.
I asked for different thing but still interesting, why are you using the constant for the super class name? Isn't it the same with the actual super class name (Shared_Pointer) instead the precompiler constant?
Thanks.
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
Hi all,
Can you do it?