mirror of
https://github.com/boostorg/function.git
synced 2025-07-25 10:27:14 +02:00
Workaround Sun and HP bugs
[SVN r16511]
This commit is contained in:
@ -68,6 +68,10 @@ namespace boost { namespace python { namespace objects {
|
|||||||
# define BOOST_FUNCTION_NO_ENABLE_IF
|
# define BOOST_FUNCTION_NO_ENABLE_IF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__SUNPRO_CC) && __SUNPRO_CC <= 0x540 && !defined(BOOST_STRICT_CONFIG)
|
||||||
|
# define BOOST_FUNCTION_NO_ENABLE_IF
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||||
namespace boost {
|
namespace boost {
|
||||||
|
|
||||||
@ -280,7 +284,11 @@ namespace boost {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# if defined(BOOST_STRICT_CONFIG) || !defined(__HP_aCC) || __HP_aCC > 33900
|
||||||
template<bool>
|
template<bool>
|
||||||
|
# else
|
||||||
|
template<bool x>
|
||||||
|
# endif
|
||||||
struct enabled
|
struct enabled
|
||||||
{
|
{
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
Reference in New Issue
Block a user