|
-
September 3rd, 2011, 11:44 PM
#6
Re: Template operator overloading assistance
I want you to copy the contents of this .cpp file and paste it into the header file, then delete this .cpp file. You should get the exact same error (other than say, a difference in line number). If you did not, then obviously you treated this .cpp file as a source file by compiling it when I explicitly told you that it was not a source file, but rather part of a header file. This is also why I suggested that you use a file extension other than .cpp for it.
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
|