13 Mar
2009
13 Mar
'09
10:12 a.m.
I think I can implement checks for streamable through the sizeof trick...haven't thought of the exact way yet but I think it should work.
I can't think of how to test for CopyConstructable or DefaultConstructable though. Any ideas?
Unfortunately I don't believe those two are testable for in C++03, in C++0x of course one can use concepts for that purpose. John.