Skip to content

Instantly share code, notes, and snippets.

@djg djg/theevil.cpp
Created May 19, 2010

Embed
What would you like to do?
// 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
You can’t perform that action at this time.