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