diff options
Diffstat (limited to 'boost/type_traits/has_post_increment.hpp')
-rw-r--r-- | boost/type_traits/has_post_increment.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/type_traits/has_post_increment.hpp b/boost/type_traits/has_post_increment.hpp index 085b2d5933..b055607d52 100644 --- a/boost/type_traits/has_post_increment.hpp +++ b/boost/type_traits/has_post_increment.hpp @@ -9,6 +9,8 @@ #ifndef BOOST_TT_HAS_POST_INCREMENT_HPP_INCLUDED #define BOOST_TT_HAS_POST_INCREMENT_HPP_INCLUDED +#include <boost/type_traits/is_array.hpp> + #define BOOST_TT_TRAIT_NAME has_post_increment #define BOOST_TT_TRAIT_OP ++ #define BOOST_TT_FORBIDDEN_IF\ @@ -27,7 +29,9 @@ ::boost::is_pointer< Lhs_noref >::value\ >::value,\ ::boost::is_const< Lhs_noref >::value\ - >::value\ + >::value,\ + /* Arrays */ \ + ::boost::is_array<Lhs_noref>::value\ >::value |