Ticket #5666: intrinsics_comments_fix.patch

File intrinsics_comments_fix.patch, 1.2 KB (added by Michel MORIN <mimomorin@…>, 11 years ago)

A patch for fixing comments in intrinsics.hpp.

  • boost/type_traits/intrinsics.hpp

     
    2222// (these should largely ignore cv-qualifiers)
    2323// BOOST_IS_UNION(T) should evaluate to true if T is a union type
    2424// BOOST_IS_POD(T) should evaluate to true if T is a POD type
    25 // BOOST_IS_EMPTY(T) should evaluate to true if T is an empty struct or union
     25// BOOST_IS_EMPTY(T) should evaluate to true if T is an empty class type and not a union type
    2626// BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) should evaluate to true if "T x;" has no effect
    2727// BOOST_HAS_TRIVIAL_COPY(T) should evaluate to true if T(t) <==> memcpy
    2828// BOOST_HAS_TRIVIAL_ASSIGN(T) should evaluate to true if t = u <==> memcpy
     
    3636//
    3737// BOOST_IS_ABSTRACT(T) true if T is an abstract type
    3838// BOOST_IS_BASE_OF(T,U) true if T is a base class of U
    39 // BOOST_IS_CLASS(T) true if T is a class type
     39// BOOST_IS_CLASS(T) true if T is a class type and not a union type
    4040// BOOST_IS_CONVERTIBLE(T,U) true if T is convertible to U
    4141// BOOST_IS_ENUM(T) true is T is an enum
    4242// BOOST_IS_POLYMORPHIC(T) true if T is a polymorphic type