
John Maddock wrote:
I just realized that is_base_of<void, void> gives different (inconsistent) results at least for gcc 4.3.2 (which evaluates this to false) and vc2005sp1 (evaluates to true, as earlier versions of boost did consistently, btw). This is truly a border case, but should expose consistent behavior anyways.
Hmm.. will investigate.
This should have been changed to C++0x behavior and return false throughout... John.
I suppose it may be related to differences in traits definitions between TR1 and C++0x. Similar issue is with is_pod and others. Here is my post about it to libstdc++ "std::is_pod vs std::tr1::is_pod and void type" http://gcc.gnu.org/ml/libstdc++/2009-11/msg00041.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net