Ticket #2346: libs_type_traits.patch

File libs_type_traits.patch, 681 bytes (added by Nicola Musatti, 14 years ago)
  • test/tricky_partial_spec_test.cpp

     
    5656//
    5757
    5858BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<char&>::value, ALIGNOF(void*));
     59#if !defined __CODEGEARC__  // CodeGear cannot parse function references inside alignof
    5960BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<char (&)(int)>::value, ALIGNOF(void*));
     61#endif
    6062BOOST_CHECK_INTEGRAL_CONSTANT(::tt::alignment_of<char(&)[4]>::value, ALIGNOF(void*));
    6163
    6264BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_base_of<Base&,Derived>::value), false);