k0k0 Posted May 6, 2011 Posted May 6, 2011 Is it possible to overload operators for non-objects like typedef?
Richard Robertson Posted May 6, 2011 Posted May 6, 2011 Yes. You could even overload things like int + int if you really wanted.
Richard Robertson Posted May 6, 2011 Posted May 6, 2011 Ok. That's certainly a better answer than my misremembering something I tried a couple years ago.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now