Georgy Guminov
f9effffb6d
Mostly remove pre-CXX11 workarounds.
...
С++03 support was deprecated in 1.85 and now can be removed. This PR clears
many of workarounds, which are no longer needed now.
* Remove unused workaround macros (many of).
* Remove BOOST_STATIC_ASSERT usages.
* Minimize Boost::type_traits dependency (in favour of STL's type_traits).
Closes https://github.com/boostorg/iterator/pull/82 .
Squashed commit of the following:
commit 741a627b73
Author: Georgy Guminov <gogagum@gmail.com >
Date: Sat Jan 25 12:13:05 2025 +0300
Replace testers with standard metafunctions.
commit bf4cce6114
Author: Georgy Guminov <gogagum@gmail.com >
Date: Sat Jan 25 11:51:32 2025 +0300
Refactor is_lvalue_iterator.hpp.
commit 8d080c6c58
Author: Georgy Guminov <gogagum@gmail.com >
Date: Sat Jan 25 10:27:32 2025 +0300
Remove more workarounds.
commit 5a4ba24d36
Author: Georgy Guminov <gogagum@gmail.com >
Date: Sun Jan 19 16:38:30 2025 +0300
Fixes.
commit fdfafce2b9
Author: Georgy Guminov <gogagum@gmail.com >
Date: Sat Oct 26 15:06:43 2024 +0300
Remove BOOST_NO_STRICT_ITERATOR_INTEROPERABILITY
Correct static_assert messages.
Fix messages & replace is_standard_layout with is_copy_constructible.
commit c69ac1408a
Author: Georgy Guminov <gogagum@gmail.com >
Date: Sat Oct 26 14:48:51 2024 +0300
Correct static_assert messages.
commit b5df827151
Author: Georqy Guminov <gogagum@gmail.com >
Date: Sun Jun 23 16:12:29 2024 +0300
Fixes. Remove some Boost.MPL usages. Remove unused includes.
commit 01fd35e9f8
Author: Georgiy Guminov <gogagum@gmail.com >
Date: Wed Jun 12 17:14:21 2024 +0300
abstract conjunction.
commit c02def8acf
Author: Georgiy Guminov <gogagum@gmail.com >
Date: Wed Jun 12 16:35:43 2024 +0300
return addressof & conjunction.
commit 3b3d162575
Author: Georgiy Guminov <gogagum@gmail.com >
Date: Wed Jun 12 16:30:44 2024 +0300
Make macro more readable.
commit 4ab19e045f
Author: Georgiy Guminov <gogagum@gmail.com >
Date: Wed Jun 12 15:56:49 2024 +0300
Add static_assert messages.
commit 82b5c44cd3
Author: Georgiy Guminov <gogagum@gmail.com >
Date: Wed Jun 12 14:12:10 2024 +0300
Return is iterator CXX17 test.
commit 2d58d65462
Author: Georgiy Guminov <gogagum@gmail.com >
Date: Tue Jun 11 14:04:17 2024 +0300
Omitted.
commit a0d04d9491
Author: Georgiy Guminov <gogagum@gmail.com >
Date: Tue Jun 11 14:00:35 2024 +0300
Replace move with static_cast
commit 4a49b8a1a2
Author: Georgiy Guminov <gogagum@gmail.com >
Date: Mon Jun 10 21:38:53 2024 +0300
Return BOOST_NOEXCEPT
commit 054c013bba
Author: Georgiy Guminov <gogagum@gmail.com >
Date: Sun Jun 9 15:20:41 2024 +0300
CXX11
2025-01-26 15:21:16 +03:00
Andrey Semashev
a9dabd3c65
Removed dependency on Boost.Conversion in tests.
...
This reduces the minimum supported compilers versions.
2023-11-17 04:25:29 +03:00
Edward Diener
dc7bf5cc05
Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.
2020-03-31 11:21:59 -04:00
Andrey Semashev
8b5e92a0c4
Converted asserts in tests to tests using lightweight_test.hpp.
2017-10-02 01:26:39 +03:00
Andrey Semashev
a36ed0f35d
Replaced type_traits.hpp with more fine-grained includes. Replaced assert with BOOST_ASSERT.
2017-10-02 01:18:17 +03:00
Andrey Semashev
2b6b6bf8ad
Silence warnings in tests about unused variables and local typedefs.
2017-08-26 20:39:26 +03:00
Marcel Raad
b2b9ab1568
Remove unused deprecated includes
...
A comment in boost/iterator.hpp and boost/detail/iterator.hpp mentions that
the files are obsolete and will be deprecated. All they do is pull some types
from namespace std into namespace boost.
2015-09-14 14:28:38 +02:00
Andrey Semashev
dc96d371fa
Moved most components of the library to iterators:: namespace.
...
This change excludes boost:: and boost::detail:: namespaces from ADL for unqualified function calls (e.g. algorithms). This reduces the possibility of name clashes with other libraries and user's code. One of the effects should be fixing test failures on gcc 4.2 and 4.4 due to clashed with Boost.TypeTraits.
Also some of the functions marked with inline keyword.
2014-07-03 00:22:45 +04:00
Stephen Kelly
a803b5b42d
Remove use of obsolete BOOST_TT_BROKEN_COMPILER_SPEC
...
[SVN r86250]
2014-06-06 01:06:48 +01:00
Daniel James
8e5b8025d8
Revert changes that were merged to master.
...
Reverted: 2e099caceb9..21102938e8ccb
I'm going to reapply some of them soon, but it's easier to revert them
all first, as there are conflicts. Also the number of changes that were
inserted since then, mean that there would be a huge gap between related
changes.
2014-06-06 00:56:20 +01:00
Stephen Kelly
a1c0cf8373
Remove use of obsolete BOOST_TT_BROKEN_COMPILER_SPEC
...
[SVN r86250]
2014-06-05 01:15:17 +03:00
Jeremiah Willcock
fbbdcf8c99
Merged in BGL, enable_if, and related changes from trunk: r67035, r57559, r72837, r73010, r73026, r72960, r73425, r73424, r73009, r73998, r73997, r73006, r73630, r73631, r73999, r73422, r73423, r73996, r71221
...
[SVN r74023]
2011-08-23 18:26:46 +00:00
John Maddock
557ef60557
Converted files to the BSL.
...
[SVN r24614]
2004-08-20 11:10:24 +00:00
Douglas Gregor
a6d200f262
Converted to Boost Software License, Version 1.0
...
[SVN r24055]
2004-07-26 00:32:12 +00:00
Douglas Gregor
0acc6c38ef
Need to include <algorithm> to get std::swap
...
[SVN r23213]
2004-06-27 18:48:11 +00:00
Dave Abrahams
522195fd64
Stop making the incorrect assumption that x == j[n] is legitimate
...
whenever x = j[n] and x == x are. j[n] may be a proxy convertible to
typeof(x) and x == x may use a templated operator==, which wouldn't
match the proxy.
[SVN r20887]
2003-11-20 21:36:54 +00:00
Dave Abrahams
bdc1304326
Got everything working with GCC
...
[SVN r20864]
2003-11-19 20:08:00 +00:00
Dave Abrahams
1d6f36e35d
Move to new iterator adaptors
...
[SVN r19074]
2003-07-11 22:18:58 +00:00
Dave Abrahams
e28ca345ea
added copyright/license
...
[SVN r18836]
2003-06-18 13:20:02 +00:00
Dave Abrahams
3844edc4bf
Fixed input iterator requirements. For a == b a++ == b++ is no longer
...
required. See 24.1.1/3 for details. (Thomas Witt)
[SVN r13716]
2002-05-07 11:56:08 +00:00
Jeremy Siek
1988994bd3
added dummy_constructor to dummyT so it can be used in concept archetypes
...
[SVN r9181]
2001-02-13 02:03:59 +00:00
Jeremy Siek
8a73dcd052
Fixed bidirectional iterator test so that --i is no longer a precondition.
...
[SVN r9048]
2001-02-09 04:29:11 +00:00
Dave Abrahams
d17e8dae9b
codewarrior bug workaround
...
[SVN r8989]
2001-02-06 23:59:02 +00:00
Dave Abrahams
7aea7b7881
Factored counting_iterator stuff into boost/counting_iterator.hpp
...
[SVN r8935]
2001-02-04 23:37:01 +00:00
Dave Abrahams
3e6796ab91
Fixed lvalue test
...
[SVN r8934]
2001-02-04 23:35:26 +00:00
Dave Abrahams
893b5c0e25
Moved contents to boost/iterator_adaptors.hpp
...
[SVN r8933]
2001-02-04 23:34:29 +00:00
Dave Abrahams
25f9acabac
corrected preconditions
...
[SVN r8925]
2001-02-04 19:00:03 +00:00
Dave Abrahams
bb2ffadade
Added lvalue test
...
[SVN r8922]
2001-02-04 18:25:55 +00:00
Jeremy Siek
8f41e88f85
fixed bug in assignment operator under VC++, which was the cause of
...
the access violation error in graph/test/graph.cpp. The root
of this bug is in compressed pair, which VC++ has a hard time
generating a correct operator= for.
[SVN r8767]
2001-01-25 04:57:16 +00:00
Jeremy Siek
9a4b0b576d
added filter iterator
...
[SVN r8735]
2001-01-23 19:09:30 +00:00
Jeremy Siek
c948483ec1
added some #ifdefs to prevent compilation of workaround code
...
[SVN r8688]
2001-01-21 20:28:02 +00:00
Jeremy Siek
a31a89ae7d
fixed some mwerks compiler errors
...
[SVN r8683]
2001-01-21 19:33:06 +00:00
Dave Abrahams
b8ccd48fa3
Moved type<> to boost/type.hpp
...
[SVN r8678]
2001-01-21 06:20:20 +00:00
Jeremy Siek
cf1d6a30af
fixed some warnings under g++
...
[SVN r8600]
2001-01-15 03:10:11 +00:00
Jeremy Siek
7fa5da6778
fixed dispatch for MIPSpro workaround
...
[SVN r8599]
2001-01-15 02:51:45 +00:00
Jeremy Siek
34a9d4e702
another MIPSpro workaround
...
[SVN r8597]
2001-01-14 21:10:44 +00:00
Jeremy Siek
42710d0967
also, advance_impl should take non-const Iter param
...
[SVN r8595]
2001-01-14 19:23:19 +00:00
Jeremy Siek
487acf8c1c
iter() should be i.iter()
...
[SVN r8594]
2001-01-14 19:21:29 +00:00
Jeremy Siek
d6ec67f6ed
added version number for MIPSpro
...
[SVN r8586]
2001-01-14 01:27:01 +00:00
Jeremy Siek
e1b64d45e2
MIPSpro port, avoid using operators that are not defined
...
[SVN r8584]
2001-01-14 01:14:39 +00:00
Jeremy Siek
b634113daf
added concept checking classes for purposes of documentation (they don't get invoked)
...
[SVN r8499]
2000-12-28 03:00:45 +00:00
Jeremy Siek
0c68369f23
changed reference type of counting_iterator to avoid problems on VC++
...
[SVN r8474]
2000-12-17 21:53:22 +00:00
Jeremy Siek
42ddb0d47b
added const in a couple places to make sure the iterator operators
...
that should be const (like operator* and operator[]) are indeed const
[SVN r8466]
2000-12-15 21:51:02 +00:00
Jeremy Siek
e6191bc913
operator[] needed to be const
...
[SVN r8463]
2000-12-15 19:31:16 +00:00
Jeremy Siek
8cf1b8acb2
forgot #include <iterator>
...
[SVN r8461]
2000-12-13 23:24:55 +00:00
Jeremy Siek
3852c810f3
various changes, almost forgot to check in
...
[SVN r8379]
2000-12-03 06:20:23 +00:00
Jeremy Siek
04c0c043e0
added projection iterator to the test
...
[SVN r8320]
2000-11-24 20:45:26 +00:00
Jeremy Siek
ffec5207fa
changed names to "Inner" and "Outer"
...
[SVN r8318]
2000-11-24 20:05:11 +00:00
Jeremy Siek
31fef5252a
simplified version of iterator_adaptor, plus fix to indirect iterator
...
and addition of projection iterator
[SVN r8317]
2000-11-24 19:40:51 +00:00
Jeremy Siek
80bcc4e643
some concept checking changes as per review comments
...
[SVN r8268]
2000-11-20 18:17:52 +00:00