I think the problem is that there is a typo in the code.
Change Contain2 to Contain1, and it should work.
The second form is a specialization of the template and will be chosen first, but only...
Type: Posts; User: DaveProgrammer
I think the problem is that there is a typo in the code.
Change Contain2 to Contain1, and it should work.
The second form is a specialization of the template and will be chosen first, but only...
Hi,
Try the following code:
I removed the <T> as that should not be there, and made some fixes to your Write function.
By the way, this does compile with gcc.