|
-
March 26th, 2009, 12:59 PM
#9
Re: operator++ with templates
 Originally Posted by laserlight
No, notice that postfix operator++ is used in the implementation of the function template prefix operator++. Incidentally, note that my example also corrects the function signature and return type.
I opened the editor before your post came up. At any rate, I missed the prefix vs. postfix element.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|