forked from boostorg/static_assert
add HP aCC workarounds
[SVN r10025]
This commit is contained in:
1 parent
a947d4039a
commit
8b37ed2072
1 file changed
+4
-2
@@ -25,11 +25,13 @@
|
|||||||
|
|
||||||
namespace boost{
|
namespace boost{
|
||||||
|
|
||||||
template <bool> struct STATIC_ASSERTION_FAILURE;
|
// HP aCC cannot deal with missing names for template value parameters
|
||||||
|
template <bool x> struct STATIC_ASSERTION_FAILURE;
|
||||||
|
|
||||||
template <> struct STATIC_ASSERTION_FAILURE<true>{};
|
template <> struct STATIC_ASSERTION_FAILURE<true>{};
|
||||||
|
|
||||||
template<int> struct static_assert_test{};
|
// HP aCC cannot deal with missing names for template value parameters
|
||||||
|
template<int x> struct static_assert_test{};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user