mirror of
https://github.com/boostorg/multi_array.git
synced 2025-05-11 05:13:53 +00:00
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:
parent
685b7e4c37
commit
124d85c0ae
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user