types.hpp 895 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Copyright 2002 The Trustees of Indiana University.
  2. // Use, modification and distribution is subject to the Boost Software
  3. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. // Boost.MultiArray Library
  6. // Authors: Ronald Garcia
  7. // Jeremy Siek
  8. // Andrew Lumsdaine
  9. // See http://www.boost.org/libs/multi_array for documentation.
  10. #ifndef BOOST_MULTI_ARRAY_TYPES_RG071801_HPP
  11. #define BOOST_MULTI_ARRAY_TYPES_RG071801_HPP
  12. //
  13. // types.hpp - supply types that are needed by several headers
  14. //
  15. #include "boost/config.hpp"
  16. #include <cstddef>
  17. namespace boost {
  18. namespace detail {
  19. namespace multi_array{
  20. // needed typedefs
  21. typedef std::size_t size_type;
  22. typedef std::ptrdiff_t index;
  23. } // namespace multi_array
  24. } // namespace detail
  25. } // namespace boost
  26. #endif // BOOST_MULTI_ARRAY_TYPES_RG071801_HPP