Guest User

Untitled

a guest
May 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. // Overloading operator, to allow custom list of objects to be passed
  2. // eg: object obj()[, , , ];
  3.  
  4. struct list
  5. {
  6. ...
  7. list& operator,(list l);
  8. ...
  9. };
  10.  
  11. class object
  12. {
  13. public:
  14. ...
  15. void operator[](list l);
  16. ...
  17. }
Add Comment
Please, Sign In to add comment