Created
May 19, 2010 04:22
-
-
Save djg/405948 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment