
On Thu, Nov 04, 2004 at 08:56:29AM -0800, Robert Ramey wrote:
2) This code addresses the issue that (last time I checked) boost/type_traits/is_abstract.hpp does not work on most compilers. The intention of this code is to use the boost one where it is known to work and to use one that returns false if is_abstract is not supported on the platform. I believe this code supports this intention.
Not really. Or more precisely, your assumption where is_abstract is known to work is too broad. The problem is, is_abstract fails with gcc 3.4 for non-trivial examples. I reported this in <URL:http://lists.boost.org/MailArchives/boost/msg10998.php>. IIUC, this bug will be fixed in gcc 4.x, but not in the gcc 3.4 release series, cf. <URL:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17232>. Regards Christoph -- http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html