Dixon, Scott
4750a50099
Issue #100 remove auto_ptr and c++03 support.
...
Problem:
auto_ptr is deprecated.
Solution:
use unique_ptr which is only available in c++11 and newer.
Also fix how unit tests are run as part of the build to keep them from being
deleted when they fail.
Testing:
Unit tests on linux run.
2018-06-26 20:56:53 -07:00
Pavel Kirienko
aaa6840933
Multiset test compatibility fix
2017-03-16 17:37:31 +03:00
Pavel Kirienko
c914f98772
Updated the unit tests for compatibility with GCC 5.4
2017-03-16 17:16:21 +03:00
Pavel Kirienko
c9ec822244
-Wold-style-cast; linked list items made noncopyable
2016-07-29 16:46:57 +03:00
Pavel Kirienko
38a241a90a
Added -Wzero-as-null-pointer-constant, replaced NULL --> UAVCAN_NULLPTR. All changes are automatic, no manual edits to the library code.
2016-07-29 15:39:24 +03:00
Pavel Kirienko
3e6102d479
Map<> and Multiset<> fixed, 22 tests to go
2015-10-14 08:51:20 +03:00
Pavel Kirienko
be84897ed6
First stab at global refactoring of memory management - the library builds, but unit tests are failing horribly
2015-10-14 08:29:50 +03:00
Pavel Kirienko
00319909c1
PoolManager<> removed (was useless) ( #33 )
2015-06-15 15:27:33 +03:00
Pavel Kirienko
8ab48f61e7
try_implicit_cast<>() --> coerceOrFallback<>()
2015-06-05 15:21:05 +03:00
Pavel Kirienko
02fe76cd6f
Simplified Multiset<>
2015-05-16 22:39:01 +03:00
Pavel Kirienko
713ec48ce9
Multiset<>::forEach()
2015-05-16 13:38:42 +03:00
Pavel Kirienko
eb370b08dd
Refactored Map<>
2015-05-16 03:31:18 +03:00
Pavel Kirienko
24f0ec56f4
Multiset fixes and more tests
2015-05-16 03:14:46 +03:00
Pavel Kirienko
5e7f81c11b
Fixed Multiset tests
2015-05-16 02:36:45 +03:00
Pavel Kirienko
048e0a33ee
Non-moving multiset, tests are failing in C++03 mode
2015-05-15 21:32:08 +03:00
Pavel Kirienko
ee761eebad
Multiset<>
2015-05-15 15:29:31 +03:00
Pavel Kirienko
209547e8b6
Map<>::KVPair constructor fix
2015-03-23 22:20:15 +03:00
Pavel Kirienko
ab4c5f54a6
Map<>::getByIndex()
2015-03-23 04:27:59 +03:00
Pavel Kirienko
8a5d001e29
Linked list: optimized insertBefore(), elaborated docs
2015-01-18 01:20:56 +03:00
Pavel Kirienko
8b73a68de8
areClose() tests and docs
2014-08-29 01:25:55 +04:00
Pavel Kirienko
b09bfab117
Strict warnings in the unit tests. This commit needs to be carefully reviewed.
2014-08-28 04:54:59 +04:00
Pavel Kirienko
4cc7dfb2d4
Float classification test
2014-08-28 01:40:29 +04:00
Pavel Kirienko
6446d05446
Floating point comparison routines
2014-08-27 17:57:10 +04:00
Pavel Kirienko
1a9e1d8202
Fixed tests
2014-05-05 14:23:14 +04:00
Pavel Kirienko
224a072120
try_implicit_cast<>() supports non default constructible target types
2014-03-10 11:12:57 +04:00
Pavel Kirienko
ce618f6436
Utils moved to uavcan/util/*
2014-03-09 21:46:21 +04:00