Boost logo

Boost Users :

Subject: Re: [Boost-users] need some metaprogramming ideas
From: John Maddock (john_at_[hidden])
Date: 2009-03-13 06:12:37


> 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net