
Alexander Nasonov <alnsn@yandex.ru> writes:
OK, I'll move defs to namespace boost.
Why? Why not just use the patch I posted?
Is it the only problem with integral_promotion on Borland?
It shouldn't be; it looks like a plain-old bug. type_traits::detail::mpl::aux::template_arity is not likely to have been defined, don't you think?
What version of Borland are you trying to support?
5.64 But my guess is that this header only got included on that one compiler.
David Abrahams wrote:
The macro BOOST_TT_AUX_BOOL_TRAIT_DEF1 is only designed to be used inside namespace boost, but here it is used inside boost::type_traits::detail, causing Borland to complain that there is no definition for the symbol `template_arity' (in that scope).
-- Dave Abrahams Boost Consulting www.boost-consulting.com