Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Overloading operator, to allow custom list of objects to be passed
- // eg: object obj()[, , , ];
- struct list
- {
- ...
- list& operator,(list l);
- ...
- };
- class object
- {
- public:
- ...
- void operator[](list l);
- ...
- }
Add Comment
Please, Sign In to add comment