From 063e65386f09d18937ebcaaeb152681feab98974 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Tue, 3 Jul 2018 22:01:56 +0100 Subject: [PATCH] Deleted files --- include/etl/private/stl_algorithm.h | 63 ----------------------------- include/etl/private/stl_utility.h | 54 ------------------------- src/profiles/etl_profile.h | 60 --------------------------- 3 files changed, 177 deletions(-) delete mode 100644 include/etl/private/stl_algorithm.h delete mode 100644 include/etl/private/stl_utility.h delete mode 100644 src/profiles/etl_profile.h diff --git a/include/etl/private/stl_algorithm.h b/include/etl/private/stl_algorithm.h deleted file mode 100644 index 67d7fde6..00000000 --- a/include/etl/private/stl_algorithm.h +++ /dev/null @@ -1,63 +0,0 @@ -///\file - -/****************************************************************************** -The MIT License(MIT) - -Embedded Template Library. -https://github.com/ETLCPP/etl -https://www.etlcpp.com - -Copyright(c) 2018 jwellbelove - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files(the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and / or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions : - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -******************************************************************************/ - -#ifndef ETL_STL_ALGORITHM_INCLUDED -#define ETL_STL_ALGORITHM_INCLUDED - -#include "platform.h" - -#if defined(ETL_NO_STL) - -namespace std -{ - //********************************************* - // copy - //********************************************* - template - TOut copy(TIn b, TIn e, TOut d) - { - while (b != e) { *d++ = *b++; } return d; - } - - //********************************************* - // copy_if - //********************************************* - template - TOut copy_if(TIn b, TIn e, TOut d, TPredicate p) - { - while (b != e) { if (p(*b)) { *d = *b; } ++b; ++d; } return d; - } -} - -#else - #include -#endif - -#endif diff --git a/include/etl/private/stl_utility.h b/include/etl/private/stl_utility.h deleted file mode 100644 index 9d49e224..00000000 --- a/include/etl/private/stl_utility.h +++ /dev/null @@ -1,54 +0,0 @@ -///\file - -/****************************************************************************** -The MIT License(MIT) - -Embedded Template Library. -https://github.com/ETLCPP/etl -https://www.etlcpp.com - -Copyright(c) 2018 jwellbelove - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files(the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and / or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions : - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -******************************************************************************/ - -#ifndef ETL_STL_UTILITY_INCLUDED -#define ETL_STL_UTILITY_INCLUDED - -#include "platform.h" - -#if defined(ETL_NO_STL) - -namespace std -{ - template - struct pair - { - typedef T1 first_type; - typedef T2 second_type; - T1 first; - T2 second; - }; -} - -#else - #include -#endif - -#endif diff --git a/src/profiles/etl_profile.h b/src/profiles/etl_profile.h deleted file mode 100644 index 45596b1a..00000000 --- a/src/profiles/etl_profile.h +++ /dev/null @@ -1,60 +0,0 @@ -///\file - -/****************************************************************************** -The MIT License(MIT) - -Embedded Template Library. -https://github.com/ETLCPP/etl -https://www.etlcpp.com - -Copyright(c) 2017 jwellbelove, scott-eddy - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files(the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and / or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions : - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -******************************************************************************/ -#ifndef __ETL_PROFILE_H__ -#define __ETL_PROFILE_H__ -#ifdef PROFILE_MSVC - #include "msvc_x86.h" -#elif PROFILE_GCC_GENERIC - #include "gcc_generic.h" -#elif PROFILE_GCC_LINUX_X86 - #include "gcc_linux_x86.h" -#elif PROFILE_GCC_WINDOWS_X86 - #include "gcc_windows_x86.h" -#elif PROFILE_ARM_V5_GENERIC - #include "armv5.h" -#elif PROFILE_ARM_V6_GENERIC - #include "armv6.h" -#elif PROFILE_ARDUINO - #include "arduino_arm.h" -#elif PROFILE_TICC - #include "ticc.h" -#elif PROFILE_CPP03_GENERIC - #include "cpp03.h" -#elif PROFILE_CPP11_GENERIC - #include "cpp11.h" -#elif PROFILE_CPP14_GENERIC - #include "cpp14.h" -#elif PROFILE_CUSTOM - #include "custom_profile.h" -#else - #error Must provide a profile header file when buiding ETL. See https://www.etlcpp.com/setup.html -#endif - -#endif // __ETL_PROFILE_H_