Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~107 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for RaveFantasy

Hello there~ Well, straight for the problem: I have a class with a private vector that stores pointers: [code]class MyClass{ private: vector<myOtherCls*> myVector; public: //using the following till now: vector<myOtherCls*>& getContainer(); };[/code] [code]class myOtherCls{ public: void someGetFunc(); };[/code] Now I dont want to use [icode]getContainer()[/icode] but rather he Subscript-Operator. [code]MyClass …

Member Avatar for RaveFantasy
0
107