id summary reporter owner description type status milestone component version severity resolution keywords cc 5666 "is_class documented as yielding ""true"" for unions, but documentation contradicts that" schaub.johannes@… John Maddock "The is_class documentation at http://www.boost.org/doc/libs/1_46_1/libs/type_traits/doc/html/boost_typetraits/reference/is_class.html says ""Inherits: If T is a (possibly cv-qualified) class type then inherits from true_type, otherwise inherits from false_type"" This means that is_class shall be derived from true_type if T is an union, because an union is a class type. But the ""Compiler Compatibility"" section contains some really confusing text: ""Without (some as yet unspecified) help from the compiler, we cannot distinguish between union and class types, as a result this type will erroneously inherit from true_type for union types."" " Patches closed Boost 1.48.0 type_traits Boost 1.46.1 Problem fixed