forked from boostorg/config
SunCC <= 5.2 does not do partial specialization sufficiently well
[SVN r13555]
This commit is contained in:
@@ -21,14 +21,16 @@
|
|||||||
// wrong, especially where the value is computed
|
// wrong, especially where the value is computed
|
||||||
// from other constants (J Maddock 6th May 2001)
|
// from other constants (J Maddock 6th May 2001)
|
||||||
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||||
# endif
|
|
||||||
|
|
||||||
# if (__SUNPRO_CC <= 0x530) || !defined(BOOST_STRICT_CONFIG)
|
|
||||||
// Although sunpro 5.2 supports the syntax for
|
// Although sunpro 5.2 supports the syntax for
|
||||||
// partial specialization, it often seems to
|
// partial specialization, it often seems to
|
||||||
// bind to the wrong specialization. Better
|
// bind to the wrong specialization. Better
|
||||||
// to disable it until suppport becomes more stable
|
// to disable it until suppport becomes more stable
|
||||||
// (J Maddock 6th May 2001).
|
// (J Maddock 6th May 2001).
|
||||||
|
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# if (__SUNPRO_CC <= 0x530) || !defined(BOOST_STRICT_CONFIG)
|
||||||
// SunPro 5.3 has better support for partial specialization,
|
// SunPro 5.3 has better support for partial specialization,
|
||||||
// but breaks when compiling std::less<shared_ptr<T> >
|
// but breaks when compiling std::less<shared_ptr<T> >
|
||||||
// (Jens Maurer 4 Nov 2001).
|
// (Jens Maurer 4 Nov 2001).
|
||||||
|
Reference in New Issue
Block a user