Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include <boost/config.hpp>
7 : #include <cstddef>
8 :
9 : // We need to change the index type from std::ptrdiff_t to std::size_t so that
10 : // it matches the STL and we don't get unsigned cast warnings everywhere.
11 0 : namespace boost {
12 : namespace detail {
13 : namespace multi_array{
14 : using size_type = std::size_t;
15 : using index = std::size_t;
16 : } // namespace multi_array
17 : } // namespace detail
18 : } // namespace boost
19 :
20 : #include <boost/multi_array.hpp>
21 :
|