
20 Nov
2009
20 Nov
'09
12:20 p.m.
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.
Do you have a test case for this - I added an explicit test case for is_base_of<void, void> to the type_traits tests, and they're passing for me with both msvc-8/9 and gcc-4.x. Thanks, John.