moved multi_array_ref.hpp into the multi_array directory.

It is no longer a top-level include since it relies on multi_array anyway.
Updated regression tests accordingly.


[SVN r13991]
This commit is contained in:
Ronald Garcia 2002-05-20 18:01:18 +00:00
parent 685b7e4c37
commit 124d85c0ae
16 changed files with 13 additions and 20 deletions

View File

@ -11,7 +11,7 @@
#include "boost/multi_array/copy_array.hpp"
#include "boost/multi_array/iterator.hpp"
#include "boost/multi_array/subarray.hpp"
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array/multi_array_ref.hpp"
#include "boost/multi_array/algorithm.hpp"
#include "boost/array.hpp"
#include "boost/type_traits.hpp"
@ -46,11 +46,6 @@ public:
typedef typename super_type::extent_range extent_range;
// concept checks
// BOOST_CLASS_REQUIRES(T,DefaultConstructibleConcept);
// BOOST_CLASS_REQUIRES(T,AssignableConcept);
// BOOST_CLASS_REQUIRES(T,LessThanComparableConcept);
// BOOST_CLASS_REQUIRES(T,CopyConstructibleConcept);
template <std::size_t NDims>
struct const_array_view {
typedef boost::detail::multi_array::const_multi_array_view<T,NDims> type;

View File

@ -47,7 +47,7 @@ namespace multi_array_types {
// own objects. On the other hand, one may not want the overhead of
// object creation in small-memory environments. Thus, the objects
// can be left undefined by defining BOOST_MULTI_ARRAY_NO_GENERATORS
// before loading multi_array.hpp or multi_array_ref.hpp
// before loading multi_array.hpp.
#if !BOOST_MULTI_ARRAY_NO_GENERATORS
namespace {
multi_array_types::extent_gen extents;

View File

@ -7,7 +7,6 @@
#include "boost/test/test_tools.hpp"
#include "boost/multi_array.hpp"
#include "boost/multi_array_ref.hpp"
#include <algorithm>
#include <list>

View File

@ -3,7 +3,7 @@
// checking constness of const operator[].
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// Testing data() member function constness.
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// const_iterator/iterator conversion test
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// Testing const operator() constness.
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// const_reverse_iterator/reverse_iterator conversion test
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// Testing subarray and const_subarray assignment
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// Testing constness of subarray operations.
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// Testing constness of subarray operations.
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// ensure const_array_view doesn't allow element assignment.
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// ensure const_array_view cannot be converted to array_view
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -3,7 +3,7 @@
// ensure const_array_view doesn't allow assignment.
//
#include "boost/multi_array_ref.hpp"
#include "boost/multi_array.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"

View File

@ -34,7 +34,6 @@
// int test_main(int,char**) { return run_generative_tests(); }
//
#include "boost/multi_array.hpp"
#include "boost/multi_array_ref.hpp"
#define BOOST_INCLUDE_MAIN
#include "boost/test/test_tools.hpp"