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:
@@ -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]>
|
||||
|
||||
Reference in New Issue
Block a user