From ae385d55616b37a73534da1dbf45d4a7f45b9fbf Mon Sep 17 00:00:00 2001 From: jwellbelove Date: Sun, 22 Feb 2015 13:23:18 +0000 Subject: [PATCH] Added Github link to copyright notice. --- Doxyfile | 3 +- algorithm.h | 1 + array.h | 1 + bitset.h | 5 +++ bloom_filter.h | 1 + checksum.h | 1 + container.h | 1 + crc16.cpp | 1 + crc16.h | 1 + crc16_ccitt.cpp | 1 + crc16_ccitt.h | 1 + crc16_kermit.cpp | 1 + crc16_kermit.h | 1 + crc32.cpp | 1 + crc32.h | 1 + crc64_ecma.cpp | 1 + crc64_ecma.h | 1 + crc8_ccitt.cpp | 1 + crc8_ccitt.h | 1 + cyclic_value.h | 1 + deque.h | 1 + deque_base.h | 1 + doxygen.h | 4 ++- endian.h | 1 + enum_type.h | 1 + error_handler.cpp | 1 + error_handler.h | 1 + exception.h | 1 + factorial.h | 1 + fibonacci.h | 1 + fixed_iterator.h | 1 + fnv_1.h | 2 ++ forward_list.h | 1 + forward_list_base.h | 1 + function.h | 1 + functional.h | 1 + hash.h | 1 + ibitset.h | 1 + ideque.h | 1 + iforward_list.h | 1 + ihash.h | 1 + ilist.h | 1 + imap.h | 1 + instance_count.h | 1 + integral_limits.h | 1 + ipool.h | 1 + iqueue.h | 1 + istack.h | 1 + ivector.h | 1 + largest.h | 1 + list.h | 1 + list_base.h | 1 + log.h | 1 + map.h | 1 + map_base.h | 1 + nullptr.h | 1 + numeric.h | 1 + observer.h | 1 + parameter_type.h | 1 + pool.h | 1 + pool_base.h | 1 + power.h | 1 + queue.h | 1 + queue_base.h | 1 + radix.h | 1 + smallest.h | 1 + stack.h | 1 + stack_base.h | 1 + static_assert.h | 1 + test/data.h | 1 + test/main.cpp | 1 + test/test_algorithm.cpp | 1 + test/test_alignment.cpp | 1 + test/test_array.cpp | 1 + test/test_binary.cpp | 1 + test/test_bitset.cpp | 1 + test/test_bloom_filter.cpp | 1 + test/test_checksum.cpp | 1 + test/test_container.cpp | 1 + test/test_crc.cpp | 1 + test/test_cyclic_value.cpp | 1 + test/test_deque.cpp | 1 + test/test_endian.cpp | 1 + test/test_enum_type.cpp | 1 + test/test_error_handler.cpp | 1 + test/test_exception.cpp | 1 + test/test_fixed_iterator.cpp | 1 + test/test_flat_map.cpp | 58 +++++++++++++++++++++++++++++++++++ test/test_fnv_1.cpp | 1 + test/test_forward_list.cpp | 1 + test/test_function.cpp | 1 + test/test_functional.cpp | 1 + test/test_hash.cpp | 1 + test/test_instance_count.cpp | 1 + test/test_integral_limits.cpp | 1 + test/test_largest.cpp | 1 + test/test_list.cpp | 1 + test/test_map.cpp | 1 + test/test_maths.cpp | 1 + test/test_numeric.cpp | 1 + test/test_observer.cpp | 1 + test/test_pool.cpp | 1 + test/test_queue.cpp | 1 + test/test_smallest.cpp | 1 + test/test_stack.cpp | 1 + test/test_type_traits.cpp | 1 + test/test_variant.cpp | 1 + test/test_vector.cpp | 1 + test/test_visitor.cpp | 1 + type_traits.h | 1 + variant.h | 1 + vector.h | 1 + vector_base.h | 1 + visitor.h | 1 + 114 files changed, 179 insertions(+), 2 deletions(-) diff --git a/Doxyfile b/Doxyfile index 390131a9..eb61d645 100644 --- a/Doxyfile +++ b/Doxyfile @@ -32,7 +32,8 @@ DOXYFILE_ENCODING = UTF-8 # title of most generated pages and in a few other places. # The default value is: My Project. -PROJECT_NAME = "Embedded Template Library" +PROJECT_NAME = "Embedded Template Library. +https://github.com/ETLCPP/etl # The PROJECT_NUMBER tag can be used to enter a project or revision number. This # could be handy for archiving the generated documentation or if some version diff --git a/algorithm.h b/algorithm.h index 29da512b..25770cca 100644 --- a/algorithm.h +++ b/algorithm.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/array.h b/array.h index 0a1433aa..860d6c38 100644 --- a/array.h +++ b/array.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/bitset.h b/bitset.h index 19b618d6..acbfa551 100644 --- a/bitset.h +++ b/bitset.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove @@ -46,6 +47,10 @@ SOFTWARE. #undef min #endif +#if defined(COMPILER_KEIL) +#pragma diag_suppress 1300 +#endif + //***************************************************************************** ///\defgroup bitset bitset /// Similar to std::bitset but without requiring std::string. diff --git a/bloom_filter.h b/bloom_filter.h index e0ae8ee4..b430f8a8 100644 --- a/bloom_filter.h +++ b/bloom_filter.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/checksum.h b/checksum.h index 7bd78215..ec160035 100644 --- a/checksum.h +++ b/checksum.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/container.h b/container.h index 22f85e3a..1426fff3 100644 --- a/container.h +++ b/container.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc16.cpp b/crc16.cpp index 570a2a6c..5e07f6b3 100644 --- a/crc16.cpp +++ b/crc16.cpp @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc16.h b/crc16.h index 97f30a12..fc984768 100644 --- a/crc16.h +++ b/crc16.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc16_ccitt.cpp b/crc16_ccitt.cpp index 3a56e952..0d58eb21 100644 --- a/crc16_ccitt.cpp +++ b/crc16_ccitt.cpp @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc16_ccitt.h b/crc16_ccitt.h index b7a27880..b0661d43 100644 --- a/crc16_ccitt.h +++ b/crc16_ccitt.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc16_kermit.cpp b/crc16_kermit.cpp index a76c801b..b6a9791a 100644 --- a/crc16_kermit.cpp +++ b/crc16_kermit.cpp @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc16_kermit.h b/crc16_kermit.h index eb1f860f..bb88c8e8 100644 --- a/crc16_kermit.h +++ b/crc16_kermit.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc32.cpp b/crc32.cpp index 426ef505..302bb82e 100644 --- a/crc32.cpp +++ b/crc32.cpp @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc32.h b/crc32.h index 01913af0..b1269e6c 100644 --- a/crc32.h +++ b/crc32.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc64_ecma.cpp b/crc64_ecma.cpp index 895b61b6..b4146f80 100644 --- a/crc64_ecma.cpp +++ b/crc64_ecma.cpp @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc64_ecma.h b/crc64_ecma.h index eb26edab..a1c23990 100644 --- a/crc64_ecma.h +++ b/crc64_ecma.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc8_ccitt.cpp b/crc8_ccitt.cpp index 2a2c5ff0..df2947e6 100644 --- a/crc8_ccitt.cpp +++ b/crc8_ccitt.cpp @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/crc8_ccitt.h b/crc8_ccitt.h index 5b250080..6d4da99b 100644 --- a/crc8_ccitt.h +++ b/crc8_ccitt.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/cyclic_value.h b/cyclic_value.h index da65b7a4..e5c86255 100644 --- a/cyclic_value.h +++ b/cyclic_value.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/deque.h b/deque.h index 607ac3b5..548399a1 100644 --- a/deque.h +++ b/deque.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/deque_base.h b/deque_base.h index 8ddc3500..3553eef5 100644 --- a/deque_base.h +++ b/deque_base.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/doxygen.h b/doxygen.h index 5c465209..6e1d744c 100644 --- a/doxygen.h +++ b/doxygen.h @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove @@ -24,7 +25,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ******************************************************************************/ -///\defgroup etl Embedded Template Library +///\defgroup etl Embedded Template Library. +https://github.com/ETLCPP/etl ///\defgroup containers Containers ///\ingroup etl diff --git a/endian.h b/endian.h index a6229c36..08d3279a 100644 --- a/endian.h +++ b/endian.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/enum_type.h b/enum_type.h index 8b612df3..d241a48d 100644 --- a/enum_type.h +++ b/enum_type.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/error_handler.cpp b/error_handler.cpp index 84ee431e..4cbb2cbc 100644 --- a/error_handler.cpp +++ b/error_handler.cpp @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/error_handler.h b/error_handler.h index 2fa71698..4fd697d5 100644 --- a/error_handler.h +++ b/error_handler.h @@ -5,6 +5,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/exception.h b/exception.h index 7955d5d9..6ad619eb 100644 --- a/exception.h +++ b/exception.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/factorial.h b/factorial.h index 49ec0f4a..bda83090 100644 --- a/factorial.h +++ b/factorial.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/fibonacci.h b/fibonacci.h index 12c858d5..d8846da3 100644 --- a/fibonacci.h +++ b/fibonacci.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/fixed_iterator.h b/fixed_iterator.h index 8cf75cf9..97ad5ac9 100644 --- a/fixed_iterator.h +++ b/fixed_iterator.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2015 jwellbelove diff --git a/fnv_1.h b/fnv_1.h index 06b94b77..54338624 100644 --- a/fnv_1.h +++ b/fnv_1.h @@ -4,6 +4,8 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/forward_list.h b/forward_list.h index 88f4ae5a..7ceba686 100644 --- a/forward_list.h +++ b/forward_list.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/forward_list_base.h b/forward_list_base.h index ee338d4a..ce7f746f 100644 --- a/forward_list_base.h +++ b/forward_list_base.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/function.h b/function.h index c573ef24..43abc5dd 100644 --- a/function.h +++ b/function.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/functional.h b/functional.h index 74c2439e..de8d8098 100644 --- a/functional.h +++ b/functional.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/hash.h b/hash.h index 92882791..a373520d 100644 --- a/hash.h +++ b/hash.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/ibitset.h b/ibitset.h index 23ca4bc9..0276f358 100644 --- a/ibitset.h +++ b/ibitset.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/ideque.h b/ideque.h index a755e412..3c9fe774 100644 --- a/ideque.h +++ b/ideque.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/iforward_list.h b/iforward_list.h index e9e97f8e..18c2bf7f 100644 --- a/iforward_list.h +++ b/iforward_list.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/ihash.h b/ihash.h index cc259786..859597c0 100644 --- a/ihash.h +++ b/ihash.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2015 jwellbelove diff --git a/ilist.h b/ilist.h index 5687e1a9..4709b241 100644 --- a/ilist.h +++ b/ilist.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/imap.h b/imap.h index 09520d41..b6f760f6 100644 --- a/imap.h +++ b/imap.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove, rlindeman diff --git a/instance_count.h b/instance_count.h index 164355eb..ad8f0927 100644 --- a/instance_count.h +++ b/instance_count.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/integral_limits.h b/integral_limits.h index ee5f198c..6ba47468 100644 --- a/integral_limits.h +++ b/integral_limits.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/ipool.h b/ipool.h index 7c26631a..8cdfccc2 100644 --- a/ipool.h +++ b/ipool.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/iqueue.h b/iqueue.h index b68ea890..c516eb32 100644 --- a/iqueue.h +++ b/iqueue.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/istack.h b/istack.h index ab301565..bcef71cb 100644 --- a/istack.h +++ b/istack.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/ivector.h b/ivector.h index 15a590f8..57d73918 100644 --- a/ivector.h +++ b/ivector.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/largest.h b/largest.h index 028312c8..9e9649a5 100644 --- a/largest.h +++ b/largest.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/list.h b/list.h index a6859b6a..12ef71d0 100644 --- a/list.h +++ b/list.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/list_base.h b/list_base.h index 110d7c9c..82906020 100644 --- a/list_base.h +++ b/list_base.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/log.h b/log.h index 7968a849..abb11725 100644 --- a/log.h +++ b/log.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/map.h b/map.h index 288ac794..968c5a5e 100644 --- a/map.h +++ b/map.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove, rlindeman diff --git a/map_base.h b/map_base.h index cbfb429a..d83d054b 100644 --- a/map_base.h +++ b/map_base.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove, rlindeman diff --git a/nullptr.h b/nullptr.h index dc214c0b..f4fe6f52 100644 --- a/nullptr.h +++ b/nullptr.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/numeric.h b/numeric.h index 8b8b921f..bdc13940 100644 --- a/numeric.h +++ b/numeric.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/observer.h b/observer.h index 8d0cf9bb..e0214892 100644 --- a/observer.h +++ b/observer.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/parameter_type.h b/parameter_type.h index 29a30dec..a90d61e0 100644 --- a/parameter_type.h +++ b/parameter_type.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/pool.h b/pool.h index b4f5b27d..f5cccbec 100644 --- a/pool.h +++ b/pool.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/pool_base.h b/pool_base.h index eb2ad710..ebb90355 100644 --- a/pool_base.h +++ b/pool_base.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/power.h b/power.h index 53c5bd2d..14d1806d 100644 --- a/power.h +++ b/power.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/queue.h b/queue.h index dbbeb4f8..89665f7d 100644 --- a/queue.h +++ b/queue.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/queue_base.h b/queue_base.h index eb0e1a34..39d3724b 100644 --- a/queue_base.h +++ b/queue_base.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/radix.h b/radix.h index 2f10ec58..c33bf5d2 100644 --- a/radix.h +++ b/radix.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/smallest.h b/smallest.h index 84ffdb93..2a22b708 100644 --- a/smallest.h +++ b/smallest.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/stack.h b/stack.h index 40673c65..2025f5c2 100644 --- a/stack.h +++ b/stack.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/stack_base.h b/stack_base.h index 34524a7f..8e60c6f7 100644 --- a/stack_base.h +++ b/stack_base.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/static_assert.h b/static_assert.h index 6d0831a2..1055e4a6 100644 --- a/static_assert.h +++ b/static_assert.h @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/data.h b/test/data.h index 57eff721..ca8a09cc 100644 --- a/test/data.h +++ b/test/data.h @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/main.cpp b/test/main.cpp index 37157c28..d32de39c 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_algorithm.cpp b/test/test_algorithm.cpp index 0afb05fb..c4bf049d 100644 --- a/test/test_algorithm.cpp +++ b/test/test_algorithm.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_alignment.cpp b/test/test_alignment.cpp index 791c82c4..83ca44d3 100644 --- a/test/test_alignment.cpp +++ b/test/test_alignment.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_array.cpp b/test/test_array.cpp index 9555ec01..d3005d1e 100644 --- a/test/test_array.cpp +++ b/test/test_array.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_binary.cpp b/test/test_binary.cpp index e626a2a6..5d8b0160 100644 --- a/test/test_binary.cpp +++ b/test/test_binary.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_bitset.cpp b/test/test_bitset.cpp index a620e8bf..71d8e61a 100644 --- a/test/test_bitset.cpp +++ b/test/test_bitset.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_bloom_filter.cpp b/test/test_bloom_filter.cpp index 2911bbc3..84fd42f8 100644 --- a/test/test_bloom_filter.cpp +++ b/test/test_bloom_filter.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_checksum.cpp b/test/test_checksum.cpp index 2aa64f7d..d8b8805e 100644 --- a/test/test_checksum.cpp +++ b/test/test_checksum.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_container.cpp b/test/test_container.cpp index 4acdd17f..52cdb22f 100644 --- a/test/test_container.cpp +++ b/test/test_container.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_crc.cpp b/test/test_crc.cpp index 9bcf9e9c..493962f4 100644 --- a/test/test_crc.cpp +++ b/test/test_crc.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_cyclic_value.cpp b/test/test_cyclic_value.cpp index 122f3e2e..6531e68b 100644 --- a/test/test_cyclic_value.cpp +++ b/test/test_cyclic_value.cpp @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_deque.cpp b/test/test_deque.cpp index b6176ae3..c24a6870 100644 --- a/test/test_deque.cpp +++ b/test/test_deque.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_endian.cpp b/test/test_endian.cpp index ea5616fd..f6e3ba69 100644 --- a/test/test_endian.cpp +++ b/test/test_endian.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_enum_type.cpp b/test/test_enum_type.cpp index fe192b9b..b721aa79 100644 --- a/test/test_enum_type.cpp +++ b/test/test_enum_type.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_error_handler.cpp b/test/test_error_handler.cpp index 7203488c..3972b39d 100644 --- a/test/test_error_handler.cpp +++ b/test/test_error_handler.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_exception.cpp b/test/test_exception.cpp index c6568f30..eed7b7c0 100644 --- a/test/test_exception.cpp +++ b/test/test_exception.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_fixed_iterator.cpp b/test/test_fixed_iterator.cpp index 3ac5f6c6..175e7d47 100644 --- a/test/test_fixed_iterator.cpp +++ b/test/test_fixed_iterator.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_flat_map.cpp b/test/test_flat_map.cpp index 9a8eeed3..4eb6e0e1 100644 --- a/test/test_flat_map.cpp +++ b/test/test_flat_map.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove @@ -349,6 +350,26 @@ namespace CHECK_THROW(data.insert(excess_data.begin(), excess_data.end()), etl::flat_map_full); } + //************************************************************************* + TEST_FIXTURE(SetupFixture, test_erase_key) + { + Compare_Data compare_data(initial_data.begin(), initial_data.end()); + Data data(initial_data.begin(), initial_data.end()); + + Compare_Data::iterator i_compare = compare_data.begin(); + Data::iterator i_data = data.begin(); + + size_t count_compare = compare_data.erase("5"); + size_t count = data.erase("5"); + + CHECK_EQUAL(count_compare, count); + + bool isEqual = Check_Equal(data.begin(), + data.end(), + compare_data.begin()); + + CHECK(isEqual); + } //************************************************************************* TEST_FIXTURE(SetupFixture, test_erase_single) @@ -491,6 +512,43 @@ namespace CHECK_EQUAL(data.end(), it); } + //************************************************************************* + TEST_FIXTURE(SetupFixture, test_lower_bound) + { + Compare_Data compare_data(initial_data.begin(), initial_data.end()); + Data data(initial_data.begin(), initial_data.end()); + + Compare_Data::iterator i_compare = compare_data.lower_bound("5"); + Data::iterator i_data = data.lower_bound("5"); + + CHECK_EQUAL(std::distance(compare_data.begin(), i_compare), std::distance(data.begin(), i_data)); + } + + //************************************************************************* + TEST_FIXTURE(SetupFixture, test_upper_bound) + { + Compare_Data compare_data(initial_data.begin(), initial_data.end()); + Data data(initial_data.begin(), initial_data.end()); + + Compare_Data::iterator i_compare = compare_data.upper_bound("5"); + Data::iterator i_data = data.upper_bound("5"); + + CHECK_EQUAL(std::distance(compare_data.begin(), i_compare), std::distance(data.begin(), i_data)); + } + + //************************************************************************* + TEST_FIXTURE(SetupFixture, test_equal_range) + { + Compare_Data compare_data(initial_data.begin(), initial_data.end()); + Data data(initial_data.begin(), initial_data.end()); + + std::pair i_compare = compare_data.equal_range("5"); + std::pair i_data = data.equal_range("5"); + + CHECK_EQUAL(std::distance(compare_data.begin(), i_compare.first), std::distance(data.begin(), i_data.first)); + CHECK_EQUAL(std::distance(compare_data.begin(), i_compare.second), std::distance(data.begin(), i_data.second)); + } + //************************************************************************* TEST_FIXTURE(SetupFixture, test_equal) { diff --git a/test/test_fnv_1.cpp b/test/test_fnv_1.cpp index e943d02e..bca22835 100644 --- a/test/test_fnv_1.cpp +++ b/test/test_fnv_1.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_forward_list.cpp b/test/test_forward_list.cpp index ddd7da6b..5ac26f36 100644 --- a/test/test_forward_list.cpp +++ b/test/test_forward_list.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_function.cpp b/test/test_function.cpp index 8edcace8..a79dd68f 100644 --- a/test/test_function.cpp +++ b/test/test_function.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_functional.cpp b/test/test_functional.cpp index a79fdf5d..9b4a2923 100644 --- a/test/test_functional.cpp +++ b/test/test_functional.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_hash.cpp b/test/test_hash.cpp index 4f0cb566..21f795c1 100644 --- a/test/test_hash.cpp +++ b/test/test_hash.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_instance_count.cpp b/test/test_instance_count.cpp index 5ac4ba3d..cbcfed07 100644 --- a/test/test_instance_count.cpp +++ b/test/test_instance_count.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_integral_limits.cpp b/test/test_integral_limits.cpp index 4c106d5f..ca149f52 100644 --- a/test/test_integral_limits.cpp +++ b/test/test_integral_limits.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_largest.cpp b/test/test_largest.cpp index 54c4584f..90c053f2 100644 --- a/test/test_largest.cpp +++ b/test/test_largest.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_list.cpp b/test/test_list.cpp index a890fb85..2fe5a404 100644 --- a/test/test_list.cpp +++ b/test/test_list.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_map.cpp b/test/test_map.cpp index b0df7a05..def30c10 100644 --- a/test/test_map.cpp +++ b/test/test_map.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove, rlindeman diff --git a/test/test_maths.cpp b/test/test_maths.cpp index d20c0ea0..0cd13846 100644 --- a/test/test_maths.cpp +++ b/test/test_maths.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_numeric.cpp b/test/test_numeric.cpp index 164e1c0f..17b5e1cf 100644 --- a/test/test_numeric.cpp +++ b/test/test_numeric.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_observer.cpp b/test/test_observer.cpp index 829ab761..26b6dcc5 100644 --- a/test/test_observer.cpp +++ b/test/test_observer.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_pool.cpp b/test/test_pool.cpp index 3eb1fd89..3b2b976c 100644 --- a/test/test_pool.cpp +++ b/test/test_pool.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_queue.cpp b/test/test_queue.cpp index f8335976..c5d6d643 100644 --- a/test/test_queue.cpp +++ b/test/test_queue.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_smallest.cpp b/test/test_smallest.cpp index ccbdb219..ccbbd4ec 100644 --- a/test/test_smallest.cpp +++ b/test/test_smallest.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_stack.cpp b/test/test_stack.cpp index afefff4f..2f9fcb17 100644 --- a/test/test_stack.cpp +++ b/test/test_stack.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_type_traits.cpp b/test/test_type_traits.cpp index ea352421..7240512d 100644 --- a/test/test_type_traits.cpp +++ b/test/test_type_traits.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_variant.cpp b/test/test_variant.cpp index 59879768..01841179 100644 --- a/test/test_variant.cpp +++ b/test/test_variant.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_vector.cpp b/test/test_vector.cpp index ecb6a1a8..34c3ecfb 100644 --- a/test/test_vector.cpp +++ b/test/test_vector.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/test/test_visitor.cpp b/test/test_visitor.cpp index 8c7a78ad..c48e6432 100644 --- a/test/test_visitor.cpp +++ b/test/test_visitor.cpp @@ -2,6 +2,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/type_traits.h b/type_traits.h index 18c28794..2bc3ce4a 100644 --- a/type_traits.h +++ b/type_traits.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/variant.h b/variant.h index e97a7131..7b520f49 100644 --- a/variant.h +++ b/variant.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/vector.h b/vector.h index 19d7e858..b93fb190 100644 --- a/vector.h +++ b/vector.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/vector_base.h b/vector_base.h index d1729c97..74a94ed9 100644 --- a/vector_base.h +++ b/vector_base.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove diff --git a/visitor.h b/visitor.h index 1dfcaf15..c624b880 100644 --- a/visitor.h +++ b/visitor.h @@ -4,6 +4,7 @@ The MIT License(MIT) Embedded Template Library. +https://github.com/ETLCPP/etl Copyright(c) 2014 jwellbelove