2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 06:02:14 +00:00

tru64cxx6.5 workarounds

[SVN r14450]
This commit is contained in:
Dave Abrahams
2002-07-14 16:07:39 +00:00
parent 32c6906750
commit 3e07ba1012

View File

@@ -26,7 +26,19 @@ struct is_string_literal<char const[n]>
{
BOOST_STATIC_CONSTANT(bool, value = true);
};
# if defined(__DECCXX_VER) && __DECCXX_VER <= 60590014
// This compiler mistakenly gets the type of string literals as char*
// instead of char[NN].
template <>
struct is_string_literal<char* const>
{
BOOST_STATIC_CONSTANT(bool, value = true);
};
# endif
# else
// CWPro7 has trouble with the array type deduction above
template <class T, std::size_t n>
struct is_string_literal<T[n]>