Commit Graph

192 Commits

Author SHA1 Message Date
Adam Wulkiewicz
b8e533f7be static_vector size_t changed to std::size_t.
[SVN r82035]
2012-12-16 22:00:22 +00:00
Adam Wulkiewicz
c51fbe50b9 Iterators check changed in erase(f, l).
Tests upgraded.

[SVN r82032]
2012-12-16 19:34:51 +00:00
Adam Wulkiewicz
d96e31bb1b Compilation error fixed.
[SVN r82031]
2012-12-16 19:11:26 +00:00
Adam Wulkiewicz
f43d94fa29 asserts/checks closed in separate functions:
check_capacity()
check_empty()
check_iterator_end_eq()
check_iterator_end_neq()

[SVN r82030]
2012-12-16 19:09:10 +00:00
Adam Wulkiewicz
24f349839f Added templated versions of static_vector copy ctor and assignment.
GCC compile error fixed in test.

[SVN r82028]
2012-12-16 18:45:23 +00:00
Adam Wulkiewicz
32fbcf66ed Added statid_vector::insert(pos, first, last) for non random access iterators.
Added uninitialized_copy_checked() helper method.
Added tests.

[SVN r82027]
2012-12-16 18:31:03 +00:00
Adam Wulkiewicz
7e6f3b197e static_vector: assertion moved.
[SVN r82025]
2012-12-16 16:13:35 +00:00
Adam Wulkiewicz
0ae51b1dbc Implemented static_vector::insert(pos, first, last) for random access iterators.
Tests added.

[SVN r82024]
2012-12-16 16:09:07 +00:00
Adam Wulkiewicz
5c9f96c750 Added static_vector::insert(pos, n, val) + test.
[SVN r82008]
2012-12-16 02:40:29 +00:00
Adam Wulkiewicz
8c6d651676 Fixed wrong assert in static_vector::insert(pos, val)
Test added.

[SVN r82003]
2012-12-16 01:02:38 +00:00
Adam Wulkiewicz
50bb3d9fdf Error fixed in static_vector::insert(pos, val).
Test added.

[SVN r82002]
2012-12-16 00:58:07 +00:00
Adam Wulkiewicz
2b5cd1d7e8 implemented static_vector insert(pos, val)
[SVN r82000]
2012-12-16 00:40:39 +00:00
Adam Wulkiewicz
475837cfa6 static_vector: types comparison warnings fixed.
[SVN r81994]
2012-12-15 23:51:24 +00:00
Adam Wulkiewicz
20c8e649b7 static_vector: fixed wrong assert, removed ptr(i), calls of ptr(i) replaced by methods returning iterators wherever possible.
[SVN r81992]
2012-12-15 23:41:37 +00:00
Adam Wulkiewicz
addc5eebcf Added static_vector::erase() and tests.
[SVN r81990]
2012-12-15 23:21:59 +00:00
Adam Wulkiewicz
b985f5a561 Added assertion in static_vector.
[SVN r81980]
2012-12-15 20:55:38 +00:00
Adam Wulkiewicz
ba031be21a Added static_vector::assign(count, value) + test.
Added static_vector iterators test.

[SVN r81978]
2012-12-15 20:07:19 +00:00
Adam Wulkiewicz
bed0b92f6e static_vector helper method uninitialized_copy(Val, It) changed to uninitialized_fill(It, Val).
[SVN r81977]
2012-12-15 19:31:45 +00:00
Adam Wulkiewicz
36f0abc509 Fixed gcc compiler errors.
[SVN r81974]
2012-12-15 16:42:56 +00:00
Adam Wulkiewicz
d55108b720 Added ctor and modified assign to static_vector.
static_vector(Iter, Iter), assign(Iter, Iter) + separated version for RandomIterators.
Private helper methods now are able to take arbitrary type (Iterator, Value).

[SVN r81971]
2012-12-15 16:30:57 +00:00
Adam Wulkiewicz
395777fb9d fixed static_vector error related to construction of values with nontrivial default constructor.
tests added.

[SVN r81962]
2012-12-14 23:22:16 +00:00
Adam Wulkiewicz
da5a91bad4 static_vector error fixed, tests added.
[SVN r81960]
2012-12-14 22:59:19 +00:00
Adam Wulkiewicz
479c6a3bab Error fixed in static_vector::at().
Added test for static_vector.

[SVN r81958]
2012-12-14 22:35:46 +00:00
Adam Wulkiewicz
b22bd9525c assertion added in static_vector::assign();
[SVN r81954]
2012-12-14 21:46:53 +00:00
Adam Wulkiewicz
bbba565874 Compilation error fixed.
[SVN r81953]
2012-12-14 21:28:04 +00:00
Adam Wulkiewicz
17ed2a700b static_vector resize() and corresponding ctor divided into 2 methods/ctors (C++11).
First one uses default ctors (for noncopyable values).
Second one uses copy ctors (for values with no default ctor).

[SVN r81952]
2012-12-14 21:26:14 +00:00
Adam Wulkiewicz
3005f91f84 Small improvement to the nearest_query added.
[SVN r81949]
2012-12-14 19:46:18 +00:00
Adam Wulkiewicz
627452da2a Added rtree::count() method. Docs modified.
[SVN r81947]
2012-12-14 19:15:34 +00:00
Adam Wulkiewicz
d7cf32bcfa Rtree value_type must no longer have default ctor defined.
Added static_vector::assign(), added assertion in static_vector::resize().
Added test for value without default ctor..

[SVN r81940]
2012-12-14 14:49:45 +00:00
Adam Wulkiewicz
8f67c58ea4 rtree::assign() commented out.
[SVN r81936]
2012-12-14 12:07:25 +00:00
Adam Wulkiewicz
79436250e5 Added assign() to the rtree interface. Fixed compilation error in static_vector.
[SVN r81935]
2012-12-14 11:58:40 +00:00
Adam Wulkiewicz
95000752cd static_vector changes: added MPL_ASSERT, added difference_type.
[SVN r81934]
2012-12-14 11:33:48 +00:00
Adam Wulkiewicz
4022ec2ccc added val_ref parameter to static_vector::resize() and constructor, added methods max_size(), data(), at(), added some comments
[SVN r81931]
2012-12-14 04:18:21 +00:00
Adam Wulkiewicz
ae07c29360 added optimized versions of static_vector operations, however preliminary tests on linux shows no speed difference
[SVN r81930]
2012-12-14 02:02:52 +00:00
Adam Wulkiewicz
a8f5d60f93 Added optimized uninitialized_copy() and destroy() to static_vector.
[SVN r81925]
2012-12-14 00:13:20 +00:00
Adam Wulkiewicz
34768c2fb2 Some VS warnings fixed.
[SVN r81923]
2012-12-13 23:08:37 +00:00
Adam Wulkiewicz
6f103fc04e explicit keyword added in static_vector.
[SVN r81895]
2012-12-13 13:16:06 +00:00
Adam Wulkiewicz
aaf737a5ce static_vector implemented and used in the rtree instead of pushable_array
[SVN r81885]
2012-12-13 03:34:54 +00:00
Adam Wulkiewicz
00481f40c2 BOOST_ASSERT used instead of std assert
[SVN r81812]
2012-12-10 01:21:00 +00:00
Adam Wulkiewicz
dd6430083d Coding style improved (issues detected by Boost Inspect tool).
[SVN r81802]
2012-12-08 23:47:52 +00:00
Adam Wulkiewicz
f4f0094c3a Merged from index_dev
Fixed rtree::clear() mem leak.
Added test for clear() and boost::shared_ptr as Values.
Each linear algo test file divided into 2 files.
Added reference in docs->rtree introduction.

[SVN r81778]
2012-12-07 22:52:53 +00:00
Adam Wulkiewicz
640ae6ced6 Inserter included in the rtree.hpp
Added docs regarding inserter and creation of the rtree from the query results.
Added info about comparison of tuples in default translator.
Merged from index_dev.

[SVN r81582]
2012-11-26 22:20:38 +00:00
Adam Wulkiewicz
6f5b384b93 Merged from index_dev.
not_xxx predicates generators removed.
Added rtree constructor, insert() and remove() taking Range.
Added default translator for boost::tuple<>.
Each R*tree test divided into 2 files.
Docs updated/modified/fixed.

[SVN r81571]
2012-11-26 18:54:09 +00:00
Adam Wulkiewicz
e1a14edce2 Merged from index_dev.
Docs improved (images added). Some samples and tests modified.

[SVN r81542]
2012-11-25 21:38:31 +00:00
Adam Wulkiewicz
f7d7e88bbb Modified glut_vis additional test and added generated rtree images.
[SVN r81528]
2012-11-25 17:28:12 +00:00
Adam Wulkiewicz
5a6e87b146 Pointers and Iterators types removed from the default Translator.
[SVN r81523]
2012-11-24 22:17:08 +00:00
Adam Wulkiewicz
80be48d155 Added rtree::swap() method.
Added requirement 'Nonthrowing copy constructor of the Translator'.



[SVN r81512]
2012-11-24 19:54:36 +00:00
Adam Wulkiewicz
a901b88244 Fixed nullptr dereference errors. Merged from index_dev.
[SVN r81484]
2012-11-22 14:47:16 +00:00
Adam Wulkiewicz
e5766cf57e Fixed nullptr dereference errors.
[SVN r81483]
2012-11-22 14:45:32 +00:00
Adam Wulkiewicz
52e8317c3b warnings fixed, query and nearest visitors renamed
[SVN r81482]
2012-11-22 11:31:58 +00:00