Patches for HP aCC and Compaq tru64

[SVN r37106]
This commit is contained in:
John Maddock
2007-02-27 10:13:14 +00:00
parent bb7b1c8def
commit 6b3c033e8d
2 changed files with 9 additions and 3 deletions

View File

@ -68,7 +68,13 @@ struct char_architype
//
} // namespace boost
namespace std{
template<> struct char_traits<boost::char_architype>{};
template<> struct char_traits<boost::char_architype>
{
// The intent is that this template is not instantiated,
// but this typedef gives us a chance of compilation in
// case it is:
typedef char_architype char_type;
};
}
namespace boost{
//

View File

@ -76,7 +76,7 @@ struct regex_traits : public implementationT
// required "standard" ones:
//
namespace re_detail{
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !BOOST_WORKAROUND(__HP_aCC, < 60700)
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !BOOST_WORKAROUND(__HP_aCC, < 60000)
BOOST_MPL_HAS_XXX_TRAIT_DEF(boost_extensions_tag)
#else
template<class T>
@ -129,7 +129,7 @@ struct compute_wrapper_base
{
typedef BaseT type;
};
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !BOOST_WORKAROUND(__HP_aCC, < 60700)
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !BOOST_WORKAROUND(__HP_aCC, < 60000)
template <class BaseT>
struct compute_wrapper_base<BaseT, false>
{