forked from boostorg/function
Workaround Sun and HP bugs
[SVN r16511]
This commit is contained in:
1 parent
17427dfa3b
commit
9cf5e8efbe
1 file changed
+8
@@ -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