Commit Graph

1248 Commits

Author SHA1 Message Date
Daniel James
9abce00f24 Merge branch 'develop' 2018-04-16 07:05:46 +01:00
Daniel James
f3649e4ae0 Use boost 1.67.0 in tests 2018-04-15 22:39:33 +01:00
Daniel James
6cf0342322 Stop using -Werror
So that it doesn't fail for warnings in other libraries.
2018-04-15 22:39:33 +01:00
Daniel James
3252ad1f4b Move download-boost-snapshot.py into ci directory
Because __boost_check_library__ is complaining about it.
2018-03-18 15:41:24 +00:00
Daniel James
741a10f5a8 Merge branch 'develop' 2018-03-06 22:27:23 +00:00
Daniel James
c39dd284d2 Boost 1.67.0 changelog 2018-03-05 14:20:14 +00:00
Daniel James
4e5c97f3a3 Merge branch 'develop'
- Various CI improvements, including appveyor support
- Stop using boost::next in tests, because of warnings
- Use std::iterator_traits, to drop dependency on iterator
- Use std::piecewise_construct from dinukumware/Visual C++
- Template deduction guides, just copied from the standard,
  they don't work that well. I think some other implementations
  enhance them
- Some internal changes
- Stop inheriting from std::iterator, deprecated in C++17 (#7)
- Implement allocator_traits::is_always_equal
- Rewrite node handles using a simple class based on std::optional,
  so that it's closer to the standard
- noexcept support for swap, operator=
- Fix some compiler warnings
- Fix some of the tests on Visual C++ 7.1
- Add element_type to iterators, so that pointer_traits will work
- Use boost::to_address internally, instead of own custom implementation
- Stop using BOOST_DEDUCED_TYPENAME - it's for very old compilers that are
  no longer supported, and makes the code look ugly
2018-02-25 14:06:04 +00:00
Daniel James
e10fc0f93b Fix typo 2018-02-25 14:03:11 +00:00
Daniel James
8207ebe381 Use bash to run bootstrap.sh
When using a zipfile it isn't marked as executable.
2018-02-09 09:00:45 +00:00
Daniel James
6491f6c10a Python script to download the latest snapshot for CI testing 2018-02-02 23:37:36 +00:00
Daniel James
cfd4bacc2c Stop using BOOST_DEDUCED_TYPENAME
We no longer support any of the compilers that require it. I'd be very
surprised if anything was working on them.
2018-01-27 09:39:59 +00:00
Daniel James
09be9bae04 Use boost::is_nothrow_swappable, now that it's available everywhere 2018-01-27 09:38:19 +00:00
Daniel James
c01a8c4629 Oops, it's boost::to_address, no boost::to_pointer 2018-01-26 20:25:09 +00:00
Daniel James
cdb0229cf2 Use snapshot to get latest pointer_traits 2018-01-26 20:01:29 +00:00
Daniel James
ddf302fcc2 Use boost::to_pointer instead of pointer<..>::get
To get C++20 style recursive calls to `operator->`.
2018-01-26 18:59:16 +00:00
Daniel James
ca9e9584ba Test on appveyor 2018-01-26 18:03:56 +00:00
Daniel James
0d34053870 Use boost::to_address in node_handle_tests 2018-01-26 17:47:47 +00:00
Daniel James
66533ace80 Add element_type to nodes, so that pointer_traits will work
Might be better to change the template signature of iterators, but that would
be a disruptive change to make at the moment.
2018-01-26 17:43:06 +00:00
Daniel James
ea599a66b7 Disable 'conditional expression is constant' on older Visual C++ 2018-01-23 15:40:58 +00:00
Daniel James
1cc3f680e8 Fix a couple more explicit default constructors for Visual C++ 7.1 2018-01-20 11:49:07 +00:00
Daniel James
f7665a2743 Another attempt to fix insert_exception_tests on Visual C++ 7.1
Try extracting the nested template structs.
2018-01-20 08:57:56 +00:00
Daniel James
dc9faddf22 Try to fix constructor_tests on Visual C++ 7.1
I'm really not sure why it fails to compile, the error message isn't very
helpful.  I assume it might be because allocator1 has an explicit default
constructor, so I tried making it implicit.
2018-01-17 10:40:58 +00:00
Daniel James
e64c5b34df Try to fix insert_exception_tests on Visual C++ 7.1
It doesn't seem to like the nested template structs. If this doesn't work, I'll
try moving them into the top level.
2018-01-17 10:24:07 +00:00
Daniel James
57492c1a94 Make allocator comparison const in allocator_traits test 2018-01-13 20:31:45 +00:00
Daniel James
df8fbca007 Double brackets for BOOST_STATIC_ASSERT 2018-01-13 20:31:45 +00:00
Daniel James
72fb9c7c96 Suppress warnings in noexcept_tests 2018-01-13 20:31:45 +00:00
Daniel James
ce0f16f328 Missing copyright messages 2018-01-10 15:15:09 +00:00
Daniel James
a477d70f32 Add explicit failure for noexcept_tests on gcc + fix description for Visual C++ 7.1 2018-01-10 11:46:13 +00:00
Daniel James
f3476de893 Some explicit casts to avoid warnings on old GCC 2018-01-10 11:35:42 +00:00
Daniel James
dea525b2b7 Suppress msvc waring "conditional expression is constant" 2018-01-10 11:35:22 +00:00
Daniel James
d55c9565ab No template arguments in BOOST_MOVABLE_BUT_NOT_COPYABLE
Was causing errors on Visual C++ 7.1.
2018-01-10 09:58:08 +00:00
Daniel James
00a4185cf1 Reformat 2018-01-08 10:58:09 +00:00
Daniel James
ea28a3f98e Fix conversion to bool warning 2018-01-08 10:57:28 +00:00
Daniel James
c8facc99a7 Run concurrent test processes in travis 2018-01-06 14:25:38 +00:00
Daniel James
d7ec41f4c6 Add final use of CXXSTD in travis 2018-01-06 14:14:59 +00:00
Daniel James
9f2063846b Build b2 from the source snapshot 2018-01-06 13:38:56 +00:00
Daniel James
c05c541216 Use boost build's new cxxstd feature 2018-01-06 13:37:04 +00:00
Daniel James
34e54b35e8 Manually handle assigning hash/equality functions 2018-01-06 12:53:37 +00:00
Daniel James
f12009fc61 operator= noexcept support 2018-01-05 17:54:44 +00:00
Daniel James
5854090dc7 Swap noexcept support
Not properly supported as we don't have is_nothrow_swappable yet.
2018-01-05 17:48:13 +00:00
Daniel James
7e28fdd45a Make the current function_pair public 2018-01-05 17:10:13 +00:00
Daniel James
daeaf5e98b Flexible exception testing hash/equal_to 2018-01-05 17:10:13 +00:00
Daniel James
4bffd7a85d Avoid some warnings 2018-01-04 18:29:31 +00:00
Daniel James
7615fabc80 Rewrite node handles using a lightweight limited optional
Will try to use std::optional when available. Also using
allocator_traits::is_always_equal support.
2018-01-03 23:15:55 +00:00
Daniel James
be0acc575f Implement allocator_traits::is_always_equal 2018-01-03 20:55:40 +00:00
Daniel James
9d558b010d Reformat 2017-12-28 11:44:57 +00:00
Daniel James
32773fb023
Merge pull request #7 from DanielaE/fix/no-iterator-inheritance
Inheriting std::iterator is deprecated in c++17.
2017-12-28 11:31:11 +00:00
Daniela Engert
64441d2b64
Inheriting std::iterator is deprecated in c++17.
Therefore get rid of all of that and replace inheritance by lifting std::iterator's members into the derived class.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-12-28 12:01:41 +01:00
Daniel James
07758b7af8 Catch exceptions by reference 2017-12-22 17:02:13 +00:00
Daniel James
92ce66be64 Rename 'bucket' variable to avoid shadow warning 2017-12-22 16:54:05 +00:00