356 Commits

Author SHA1 Message Date
Ion Gaztañaga
dd385e0ec5 -> Use new Boost.Move meta utilities to avoid compilation errors in old compilers.
-> Implement equality operators as friend functions to make code clearer.
2015-04-12 12:56:04 +02:00
Ion Gaztañaga
1231ddd0e1 Fix error in reverse_iterator::operator[] 2015-04-04 22:53:28 +02:00
Ion Gaztañaga
4f20e7279d Add new clone_from overload to implement move semantics 2015-02-26 00:02:24 +01:00
Ion Gaztañaga
b5fd69e628 Add support for GCC versioned std namespaces 2015-02-26 00:00:58 +01:00
Ion Gaztañaga
b9aa032d98 any_xxx_node_traits must return pointers by value to avoid aliasing problems, as done long time ago with other traits. 2015-02-02 17:12:18 +01:00
Ion Gaztañaga
667ec0bdfc Make sure boost/config.hpp is included before pragma once. 2015-02-01 23:15:14 +01:00
Ion Gaztañaga
ccd980d1f4 Additional checks for red-black trees, make sure root is black and the number of black nodes is equal in the left and right subtrees. 2015-02-01 23:14:27 +01:00
Ion Gaztañaga
10cb0bd206 Fixed "pointed to by pos" with "pointed to by i" 2015-01-19 22:34:52 +01:00
Ion Gaztañaga
2b714f7e04 Remove redundant "struct" keyword 2015-01-14 15:46:54 +01:00
Ion Gaztañaga
a55b2d824d Replaced _MSC_VER with BOOST_HAS_PRAGMA_ONCE before #pragma once. 2015-01-10 12:49:46 +01:00
Ion Gaztañaga
7b87a5e7da Removed unused preprocessor.hpp file. 2015-01-08 15:33:19 +01:00
Adam Romanek
07599bd731 Replaced raw rethrow statements with BOOST_RETHROW 2015-01-07 13:45:07 +01:00
Ion Gaztañaga
974bb7b14d Avoid instantiating iterator tags in iterator_advance and iterator_distance, to allow iterators that forward declare tags and avoid including <iterator> 2015-01-04 02:15:44 +01:00
Ion Gaztañaga
614ce1b155 Reduced include dependencies 2015-01-02 18:41:20 +01:00
Ion Gaztañaga
757475e59c Removed trailing spaces. 2015-01-02 18:40:20 +01:00
Ion Gaztañaga
12ee566796 Workaround for bugs #10771 and #6720. 2014-12-17 15:45:05 +01:00
Ion Gaztañaga
281629b94e Fixed wrong comment in bounded_range when lower and upper are equal. 2014-12-15 17:49:05 +01:00
Ion Gaztañaga
50f9f57f6c Documented pointer_traits according to Trac #10853 proposal 2014-12-15 17:39:04 +01:00
Ion Gaztañaga
a4f0c0c7b3 Reduced compile-time dependencies, headers, and the use of Boost.Preprocessor, specially for hooks and iterators. 2014-12-08 15:48:08 +01:00
Ion Gaztañaga
adda517544 Use of boost::adl_move_swap.
Replaced <algorithm> with <functional> where needed
Added basic equal/lexicographical compare algorithms to avoid complex <algorithm> include and ADL problems in some compilers
2014-11-26 19:32:12 +01:00
Ion Gaztañaga
55a3c8b9a5 Simplified iterator_category expression so that old compilers can parse it. 2014-11-26 07:01:49 +01:00
Ion Gaztañaga
913f903d16 Avoid including <iterator>, use intrusive's own version to avoid ADL clashes and minimize some dependencies. 2014-11-25 18:43:16 +01:00
Ion Gaztañaga
0d86ca5d80 Use of boost::long_long_type to avoid warnings. 2014-11-25 18:39:07 +01:00
Ion Gaztañaga
2c13d5c7d9 Renamed get_less with get_compare 2014-11-09 14:15:14 +01:00
Ion Gaztañaga
446f87f932 Added missing non-const overloads to operator() 2014-11-09 14:14:24 +01:00
Ion Gaztañaga
2839598e85 get_header_holder_type used internally to shorten symbol length. 2014-11-01 19:59:03 +01:00
Ion Gaztañaga
960c85587f Changed default_tag 2014-11-01 19:57:24 +01:00
Ion Gaztañaga
3eff274cb3 Fixed tab spaces 2014-11-01 19:52:03 +01:00
Ion Gaztañaga
e957ece332 Removed newline 2014-11-01 19:51:42 +01:00
Ion Gaztañaga
803262ffc8 Added go_left, go_right_, go_parent and bool conversion to tree iterator 2014-11-01 19:51:22 +01:00
Ion Gaztañaga
b9ce8b4ac6 More documentation macros 2014-11-01 19:50:49 +01:00
Ion Gaztañaga
414ca9f338 Break options.hpp dependencies, now hooks don't depend on heavy meta-machinery. 2014-10-18 17:02:23 +02:00
Ion Gaztañaga
e926491606 Added #pragma once to headers 2014-10-13 22:30:28 +02:00
Ion Gaztañaga
a2f5d31ad3 Split detail/utilities.hpp into 11 headers to minimize physical coupling and header dependencies 2014-10-13 21:46:47 +02:00
Ion Gaztañaga
d25ae5748e Simplified include dependencies to avoid too many preprocessed source. 2014-10-10 18:21:18 +02:00
Ion Gaztañaga
a35a01058a Removed duplicated includes. 2014-10-05 20:11:40 +02:00
Ion Gaztañaga
f900e78b8a Removed unused parameter warnings. 2014-10-05 20:11:17 +02:00
Ion Gaztañaga
bde3c6cfa7 Avoid Boost.PP local iteration 2014-10-05 19:46:20 +02:00
Ion Gaztañaga
c4674a0d92 Fixed reverse_iterator's relational operators 2014-10-04 10:11:54 +02:00
Ion Gaztañaga
7ae11c3444 Header dependency cleanup. Removed some standard includes, splitted large "utilities" headers, and minimized algorithm dependencies. 2014-10-04 07:55:02 +02:00
Ion Gaztañaga
702ae47424 Fixed #10469: Erasing from intrusive unordered_multiset with optimize_multikey goes into an infinite loop 2014-10-01 00:01:41 +02:00
Ion Gaztañaga
b93dbafbc2 Removed some unused preprocessor includes 2014-09-30 21:45:53 +02:00
Ion Gaztañaga
fac6a8eb2e Fixes #10520 in Boost Trac 2014-09-30 21:45:20 +02:00
Ion Gaztañaga
303ac69794 Replaced boost/move/move.hpp with a more lightweight boost/move/utility_core.hpp 2014-09-25 17:12:55 +02:00
Ion Gaztañaga
c71b6ddb3a Renamed iterator to reverse_iterator 2014-09-25 17:12:02 +02:00
Ion Gaztañaga
26ebad134d Avoid inheritance from std::iterator_traits as iterators become too fat. 2014-09-24 16:06:32 +02:00
Ion Gaztañaga
1f24efd1ed Implemented N3644 (Null Forward Iterators) 2014-09-24 15:28:44 +02:00
Matei David
a684df24bd check const containers 2014-08-14 16:27:21 -04:00
Matei David
11633b7d24 don't use extra space for rbtree checkers 2014-08-14 13:54:21 -04:00
Matei David
8d33637971 Merge branch 'develop' into node-checkers 2014-08-14 12:34:25 -04:00