Ticket #5777: type_traits.patch

File type_traits.patch, 1.2 KB (added by olim@…, 11 years ago)
  • boost\type_traits\intrinsics.hpp

    Left base folder: C:\boost\boost_1_47_0
    Right base folder: C:\boost\boost_1_47_0_mod
     
    168168#   include <boost/type_traits/is_volatile.hpp>
    169169
    170170#   define BOOST_IS_UNION(T) __is_union(T)
    171171#   define BOOST_IS_POD(T) __is_pod(T)
    172172#   define BOOST_IS_EMPTY(T) __is_empty(T)
    173173#   define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) __has_trivial_constructor(T)
    174 #   define BOOST_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T) && !is_reference<T>::value && && !is_volatile<T>::value)
     174#   define BOOST_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T) && !is_reference<T>::value && !is_volatile<T>::value)
    175175#   define BOOST_HAS_TRIVIAL_ASSIGN(T) (__has_trivial_assign(T) && !is_volatile<T>::value)
    176176#   define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) __has_trivial_destructor(T)
    177177#   define BOOST_HAS_NOTHROW_CONSTRUCTOR(T) __has_nothrow_constructor(T)
    178178#   define BOOST_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T) && !is_volatile<T>::value && !is_reference<T>::value)
    179179#   define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile<T>::value)
    180180#   define BOOST_HAS_VIRTUAL_DESTRUCTOR(T) __has_virtual_destructor(T)