summaryrefslogtreecommitdiff
path: root/boost/type_traits/extent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_traits/extent.hpp')
-rw-r--r--boost/type_traits/extent.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/boost/type_traits/extent.hpp b/boost/type_traits/extent.hpp
index c41f7f2ffe..dfb3c54ee8 100644
--- a/boost/type_traits/extent.hpp
+++ b/boost/type_traits/extent.hpp
@@ -10,8 +10,8 @@
#ifndef BOOST_TT_EXTENT_HPP_INCLUDED
#define BOOST_TT_EXTENT_HPP_INCLUDED
-// should be the last #include
-#include <boost/type_traits/detail/size_t_trait_def.hpp>
+#include <boost/type_traits/integral_constant.hpp>
+#include <boost/detail/workaround.hpp>
namespace boost {
@@ -131,11 +131,8 @@ template <class T, std::size_t N = 0>
struct extent
: public ::boost::integral_constant<std::size_t, ::boost::detail::extent_imp<T,N>::value>
{
- BOOST_MPL_AUX_LAMBDA_SUPPORT(1,extent,(T))
};
} // namespace boost
-#include <boost/type_traits/detail/size_t_trait_undef.hpp>
-
#endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED