Commit Graph

100 Commits

Author SHA1 Message Date
Glen Fernandes
5bdb4f852c Use alloc_construct utilities from Boost.Core 2019-05-03 10:24:32 -04:00
Glen Fernandes
72763d70be Fix contribution from CromwellEnage to actually compile 2019-02-24 23:09:05 -05:00
Glen Fernandes
55bba0ed5b
Merge branch 'develop' into index_range_size 2019-02-24 20:48:00 -05:00
rxg
25b8a5479f
Merge pull request #10 from DanielaE/feature/retire-header-iterator
Get rid of iterator.hpp
2018-10-13 17:43:38 -07:00
CromwellEnage
17f9326ecc index_range.size() was missing
Added missing size() member function to index_range in accordance with reference documentation.
2018-09-19 12:06:36 -04:00
Glen Fernandes
e9229c8bf4 Improve C++11 allocator support
* Use the empty base optimization for storing the allocator
* Support C++11 minimal allocators
* Support C++11 stateful allocators
* Support C++11 allocator construct and destroy
2018-09-05 18:31:26 -04:00
Daniela Engert
c30eee78db
Get rid of iterator.hpp
It does nothing more than pulling std::iterator into namespace boost and including headers. This library only takes advantage of the included headers. OTOH, pulling std::iterator into boost generates deprecation warnings in MSVC 14.1 when compiling in C++17 mode. Even more, Boost's iterator.hpp is deprecated, too.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-12-27 15:59:42 +01:00
Ronald Garcia
fcf70a4560 committing https://github.com/boostorg/multi_array/pull/6 to master. 2015-11-01 01:01:18 -08:00
Ronald Garcia
83493ba231 Modified fix for sergiud, for warning-less compilation on MSVC12.0 at level 4
in release mode.
Fixes #2
2014-08-15 09:54:17 -07:00
Ronald Garcia
013ed850c5 Fixes #9886. Suppress -Wshadow-warnings warnings inside multi_array implementation. 2014-05-01 11:47:26 -07:00
Ronald Garcia
8da3864210 GCC 4.8 -Wunused-local-typedefs complains about an unused local typedef.
fixes #9888.
2014-04-23 10:14:08 -07:00
Stephen Kelly
59f108a7d1 MultiArray: Remove obsolete MSVC version checks.
[SVN r85939]
2013-09-26 09:43:12 +00:00
Ronald Garcia
795fda0d0f fixes #8368
Changed a macro to use ifndef rather than if to avoid warnings.


[SVN r83761]
2013-04-03 23:21:29 +00:00
Ronald Garcia
6e19d4b886 Somehow multi_array was picking up enable_if/disable_if from the ether, but
the ether is now gone.  Explicitly including the needed headers now.


[SVN r78531]
2012-05-21 19:48:06 +00:00
Ronald Garcia
0c123c47d4 Only include output_iterator_tag for Visual Studio 2010 and forward.
This is needed for its debug mode to compile due to some troublesome
Standard text.


[SVN r78495]
2012-05-17 13:53:04 +00:00
Ronald Garcia
bc5df6a074 operator() requires Collection concept, calls access_element, which
should in turn require it too, but was using RandomCollection Concept.
Fixes ticket #5664.


[SVN r76571]
2012-01-18 02:27:54 +00:00
Ronald Garcia
daaa3f21f7 MultiArray mutable iterators must model OutputIterator.
[SVN r76396]
2012-01-10 03:23:16 +00:00
Ronald Garcia
6b6d2320ea Copied Jeremiah's fix (using Boost.Iterator's arrow proxy) back to the trunk.
[SVN r62969]
2010-06-15 12:04:50 +00:00
Ronald Garcia
029dde4039 Fixed an assertion error...resize needs to account for starting with
an empty array when considering legal ranges.
Some small housecleaning (renaming variables, moving asserts).


[SVN r62963]
2010-06-15 01:40:31 +00:00
Jeremiah Willcock
f38af67708 Moved Collection concept into Boost.ConceptCheck; moved other MultiArray concepts into boost::multi_array_concepts and documented them in reference.xml (do not know how to rebuild HTML from that); fixes #4032
[SVN r62611]
2010-06-08 23:28:23 +00:00
Jeremiah Willcock
038f5e7b58 Changed to Boost.Iterator operator_arrow_proxy
[SVN r62604]
2010-06-08 22:46:36 +00:00
Ronald Garcia
ca3c1e6e17 Fixed asserts in generate_array_view to properly handle negative strides.
[SVN r53789]
2009-06-10 20:27:13 +00:00
Ronald Garcia
26a3292289 Fixes #1461
[SVN r41257]
2007-11-20 15:56:51 +00:00
Ronald Garcia
19dba59f02 Changed all uses of assert to BOOST_ASSERT.
[SVN r38821]
2007-08-21 13:54:58 +00:00
Ronald Garcia
f68a2203b3 Added "dimensionality" compile-time constant to the MultiArray concept.
[SVN r38820]
2007-08-21 13:54:25 +00:00
Ronald Garcia
bcb10816f1 Fixes #1127
array views were not handling negative strides properly.  Thanks to Phil Richards for pointing that out.


[SVN r38482]
2007-08-06 19:40:43 +00:00
Ronald Garcia
39649b078e Applied patch broke MSVC 7.1 and 8.0
[SVN r34409]
2006-06-26 16:40:21 +00:00
Joaquín M. López Muñoz
c00b913ab3 moved up some decls so that they are visible to CW 8.3 as part of another memfuns' default args
[SVN r34405]
2006-06-26 06:25:50 +00:00
Joaquín M. López Muñoz
8ce8ab8c8a fixed MSVC 6.5/7.0 choking on a constructor involving a dependent typename
[SVN r34404]
2006-06-26 06:20:30 +00:00
Ronald Garcia
a76974ac36 bug fix for view iterators.
[SVN r34103]
2006-05-26 14:58:11 +00:00
Ronald Garcia
fa5a5ce9a9 Dealing with an MSVC strange warning.
[SVN r33640]
2006-04-10 16:51:12 +00:00
Ronald Garcia
9c71529cb5 Added support to resize multi_array objects by passing in a Collection.
[SVN r33262]
2006-03-07 22:27:34 +00:00
Ronald Garcia
59733752f3 Fixed a bug in resize. It was losing storage order.
[SVN r33239]
2006-03-06 20:57:48 +00:00
Ronald Garcia
ecf3435632 Fix for codewarrior.
[SVN r33205]
2006-03-02 21:30:15 +00:00
Ronald Garcia
96cb60865f Fix for MSVC 6.5.
[SVN r33029]
2006-02-20 17:13:01 +00:00
Ronald Garcia
60b55bea12 Cleaned up index_range implementation a bit.
[SVN r32968]
2006-02-16 17:42:30 +00:00
Ronald Garcia
b8c8674369 forgot to account for empty arrays (used during resizing).
[SVN r32929]
2006-02-14 19:53:38 +00:00
Ronald Garcia
e977bb77b5 Added range checking to the view creation code.
[SVN r32928]
2006-02-14 19:26:11 +00:00
Ronald Garcia
3996cb45cb Suppressed some type warnings put out by g++ -Wall.
[SVN r32715]
2006-02-07 17:54:27 +00:00
Ronald Garcia
5aefc55aac Added range checking and missing concept checks for operator().
[SVN r32689]
2006-02-07 05:29:47 +00:00
Ronald Garcia
98794627a1 Switched to boost/assert.hpp and BOOST_ASSERT.
Added range checking for operator[].


[SVN r32683]
2006-02-07 00:28:09 +00:00
Ronald Garcia
00495c17c2 Don't use SFINAE (disable_if) on compilers that don't support it.
[SVN r32405]
2006-01-24 17:58:20 +00:00
Ronald Garcia
2462238fb1 Fix and adjustment for CW 9.4.
[SVN r32002]
2005-12-12 17:15:26 +00:00
Ronald Garcia
267aecae3a Fix for reindes on CW 9.4 (thanks to Doug Gregor).
[SVN r31957]
2005-12-08 18:41:53 +00:00
Ronald Garcia
cbf71de34c Another modification for CW 9.4.
[SVN r31939]
2005-12-06 19:35:12 +00:00
Ronald Garcia
b776b66525 centralized typedef.
[SVN r31921]
2005-12-05 19:58:16 +00:00
Ronald Garcia
2c61720da5 possible fix for metrowerks CW9.4 problem.
[SVN r31835]
2005-11-30 18:35:08 +00:00
Ronald Garcia
5c325606df Generalized the definition of index. This has been pointed out in the
past as a problem for 64-bit architectures.


[SVN r31636]
2005-11-13 17:21:02 +00:00
John Maddock
c6cb294daf Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
Ronald Garcia
9260aaedbc Some type changes from Thomas Klimpel while trying to run on 64-bit machine.
[SVN r30160]
2005-07-18 19:28:09 +00:00