diff --git a/include/etl/array.h b/include/etl/array.h index 230ada24..c0cf8f98 100644 --- a/include/etl/array.h +++ b/include/etl/array.h @@ -1164,32 +1164,32 @@ namespace etl //************************************************************************* /// Gets a reference to an element in the array. - ///\tparam I The index. + ///\tparam Index The index. ///\tparam T The type. - ///\tparam MAXN The array size. + ///\tparam Size The array size. ///\param a The array. ///\return A reference to the element //************************************************************************* - template - inline T& get(array& a) + template + inline T& get(array& a) { - ETL_STATIC_ASSERT(I < MAXN, "Index out of bounds"); - return a[I]; + ETL_STATIC_ASSERT(Index < Size, "Index out of bounds"); + return a[Index]; } //************************************************************************* /// Gets a const reference to an element in the array. - ///\tparam I The index. + ///\tparam Index The index. ///\tparam T The type. - ///\tparam MAXN The array size. + ///\tparam Size The array size. ///\param a The array. ///\return A const reference to the element //************************************************************************* - template - inline const T& get(const array& a) + template + inline const T& get(const array& a) { - ETL_STATIC_ASSERT(I < MAXN, "Index out of bounds"); - return a[I]; + ETL_STATIC_ASSERT(Index < Size, "Index out of bounds"); + return a[Index]; } } diff --git a/include/etl/array_view.h b/include/etl/array_view.h index 653bf0b0..653a8954 100644 --- a/include/etl/array_view.h +++ b/include/etl/array_view.h @@ -133,8 +133,8 @@ namespace etl //************************************************************************* /// Construct from etl::array. //************************************************************************* - template , etl::remove_cv_t>::value, void>::type> - ETL_CONSTEXPR array_view(etl::array& a) ETL_NOEXCEPT + template , etl::remove_cv_t>::value, void>::type> + ETL_CONSTEXPR array_view(etl::array& a) ETL_NOEXCEPT : mbegin(a.data()) , mend(a.data() + a.size()) { @@ -143,8 +143,8 @@ namespace etl //************************************************************************* /// Construct from etl::array. //************************************************************************* - template , etl::remove_cv_t>::value, void>::type> - ETL_CONSTEXPR array_view(const etl::array& a) ETL_NOEXCEPT + template , etl::remove_cv_t>::value, void>::type> + ETL_CONSTEXPR array_view(const etl::array& a) ETL_NOEXCEPT : mbegin(a.data()) , mend(a.data() + a.size()) { @@ -153,8 +153,8 @@ namespace etl //************************************************************************* /// Construct from etl::array. //************************************************************************* - template - ETL_CONSTEXPR array_view(etl::array& a, typename etl::enable_if::type, typename etl::remove_cv::type>::value, void>::type* = 0) ETL_NOEXCEPT + template + ETL_CONSTEXPR array_view(etl::array& a, typename etl::enable_if::type, typename etl::remove_cv::type>::value, void>::type* = 0) ETL_NOEXCEPT : mbegin(a.data()) , mend(a.data() + a.size()) { @@ -163,8 +163,8 @@ namespace etl //************************************************************************* /// Construct from etl::array. //************************************************************************* - template - ETL_CONSTEXPR array_view(const etl::array& a, typename etl::enable_if::type, typename etl::remove_cv::type>::value, void>::type* = 0) ETL_NOEXCEPT + template + ETL_CONSTEXPR array_view(const etl::array& a, typename etl::enable_if::type, typename etl::remove_cv::type>::value, void>::type* = 0) ETL_NOEXCEPT : mbegin(a.data()) , mend(a.data() + a.size()) { @@ -175,8 +175,8 @@ namespace etl //************************************************************************* /// Construct from std::array. //************************************************************************* - template , etl::remove_cv_t>::value, void>::type> - ETL_CONSTEXPR array_view(std::array& a) ETL_NOEXCEPT + template , etl::remove_cv_t>::value, void>::type> + ETL_CONSTEXPR array_view(std::array& a) ETL_NOEXCEPT : mbegin(a.data()) , mend(a.data() + a.size()) { @@ -185,8 +185,8 @@ namespace etl //************************************************************************* /// Construct from std::array. //************************************************************************* - template , etl::remove_cv_t>::value, void>::type> - ETL_CONSTEXPR array_view(const std::array& a) ETL_NOEXCEPT + template , etl::remove_cv_t>::value, void>::type> + ETL_CONSTEXPR array_view(const std::array& a) ETL_NOEXCEPT : mbegin(a.data()) , mend(a.data() + a.size()) { diff --git a/include/etl/binary.h b/include/etl/binary.h index cd1fc2aa..add730db 100644 --- a/include/etl/binary.h +++ b/include/etl/binary.h @@ -85,15 +85,15 @@ namespace etl /// Maximum value that can be contained in N bits. ///\ingroup binary //*************************************************************************** - /// Definition for non-zero NBITS. - template + /// Definition for non-zero NBits. + template struct max_value_for_nbits { - typedef typename etl::smallest_uint_for_bits::type value_type; - static ETL_CONSTANT value_type value = (value_type(1) << (NBITS - 1)) | max_value_for_nbits::value; + typedef typename etl::smallest_uint_for_bits::type value_type; + static ETL_CONSTANT value_type value = (value_type(1) << (NBits - 1)) | max_value_for_nbits::value; }; - /// Specialisation for when NBITS == 0. + /// Specialisation for when NBits == 0. template <> struct max_value_for_nbits<0> { @@ -101,12 +101,12 @@ namespace etl static ETL_CONSTANT value_type value = 0; }; - template - ETL_CONSTANT typename max_value_for_nbits::value_type max_value_for_nbits::value; + template + ETL_CONSTANT typename max_value_for_nbits::value_type max_value_for_nbits::value; #if ETL_USING_CPP17 - template - inline constexpr typename etl::max_value_for_nbits::value_type max_value_for_nbits_v = max_value_for_nbits::value; + template + inline constexpr typename etl::max_value_for_nbits::value_type max_value_for_nbits_v = max_value_for_nbits::value; #endif //*************************************************************************** @@ -239,19 +239,19 @@ namespace etl /// Fold a binary number down to a set number of bits using XOR. ///\ingroup binary //*************************************************************************** - template + template ETL_CONSTEXPR14 TReturn fold_bits(TValue value) { - ETL_STATIC_ASSERT(integral_limits::bits >= NBITS, "Return type too small to hold result"); + ETL_STATIC_ASSERT(integral_limits::bits >= NBits, "Return type too small to hold result"); - ETL_CONSTANT TValue mask = etl::power<2, NBITS>::value - 1U; - ETL_CONSTANT size_t shift = NBITS; + ETL_CONSTANT TValue mask = etl::power<2, NBits>::value - 1U; + ETL_CONSTANT size_t shift = NBits; // Fold the value down to fit the width. TReturn folded_value = 0; // Keep shifting down and XORing the lower bits. - while (value >= etl::max_value_for_nbits::value) + while (value >= etl::max_value_for_nbits::value) { folded_value ^= value & mask; value >>= shift; @@ -268,16 +268,16 @@ namespace etl /// Converts an N bit binary number, where bit N-1 is the sign bit, to a signed integral type. ///\ingroup binary //*************************************************************************** - template + template ETL_CONSTEXPR14 TReturn sign_extend(TValue value) { ETL_STATIC_ASSERT(etl::is_integral::value, "TValue not an integral type"); ETL_STATIC_ASSERT(etl::is_integral::value, "TReturn not an integral type"); - ETL_STATIC_ASSERT(NBITS <= etl::integral_limits::bits, "NBITS too large for return type"); + ETL_STATIC_ASSERT(NBits <= etl::integral_limits::bits, "NBits too large for return type"); struct S { - signed value : NBITS; + signed value : NBits; } s = {0}; return (s.value = value); @@ -289,17 +289,17 @@ namespace etl /// is the right shift amount, to a signed integral type. ///\ingroup binary //*************************************************************************** - template + template ETL_CONSTEXPR14 TReturn sign_extend(TValue value) { ETL_STATIC_ASSERT(etl::is_integral::value, "TValue not an integral type"); ETL_STATIC_ASSERT(etl::is_integral::value, "TReturn not an integral type"); - ETL_STATIC_ASSERT(NBITS <= etl::integral_limits::bits, "NBITS too large for return type"); + ETL_STATIC_ASSERT(NBits <= etl::integral_limits::bits, "NBits too large for return type"); ETL_STATIC_ASSERT(SHIFT <= etl::integral_limits::bits, "SHIFT too large"); struct S { - signed value : NBITS; + signed value : NBits; } s = {0}; return (s.value = (value >> SHIFT)); @@ -311,15 +311,15 @@ namespace etl ///\ingroup binary //*************************************************************************** template - ETL_CONSTEXPR14 TReturn sign_extend(TValue value, size_t NBITS) + ETL_CONSTEXPR14 TReturn sign_extend(TValue value, size_t NBits) { ETL_STATIC_ASSERT(etl::is_integral::value, "TValue not an integral type"); ETL_STATIC_ASSERT(etl::is_integral::value, "TReturn not an integral type"); - ETL_ASSERT((NBITS <= etl::integral_limits::bits), ETL_ERROR(binary_out_of_range)); + ETL_ASSERT((NBits <= etl::integral_limits::bits), ETL_ERROR(binary_out_of_range)); - TReturn mask = TReturn(1) << (NBITS - 1); - value = value & TValue((TValue(1) << NBITS) - 1); + TReturn mask = TReturn(1) << (NBits - 1); + value = value & TValue((TValue(1) << NBits) - 1); return TReturn((value ^ mask) - mask); } @@ -331,15 +331,15 @@ namespace etl ///\ingroup binary //*************************************************************************** template - ETL_CONSTEXPR14 TReturn sign_extend(TValue value, size_t NBITS, size_t SHIFT) + ETL_CONSTEXPR14 TReturn sign_extend(TValue value, size_t NBits, size_t SHIFT) { ETL_STATIC_ASSERT(etl::is_integral::value, "TValue not an integral type"); ETL_STATIC_ASSERT(etl::is_integral::value, "TReturn not an integral type"); - ETL_ASSERT((NBITS <= etl::integral_limits::bits), ETL_ERROR(binary_out_of_range)); + ETL_ASSERT((NBits <= etl::integral_limits::bits), ETL_ERROR(binary_out_of_range)); - TReturn mask = TReturn(1) << (NBITS - 1); - value = (value >> SHIFT) & TValue((TValue(1) << NBITS) - 1); + TReturn mask = TReturn(1) << (NBits - 1); + value = (value >> SHIFT) & TValue((TValue(1) << NBits) - 1); return TReturn((value ^ mask) - mask); } @@ -388,7 +388,7 @@ namespace etl /// Fills a value with a bit pattern. Partial compile time. ///\ingroup binary //*************************************************************************** - template + template ETL_CONSTEXPR TResult binary_fill() { ETL_STATIC_ASSERT(sizeof(TResult) >= sizeof(TValue), "Result must be at least as large as the fill value"); @@ -396,7 +396,7 @@ namespace etl typedef typename etl::make_unsigned::type unsigned_r_t; typedef typename etl::make_unsigned::type unsigned_v_t; - return TResult(unsigned_v_t(N) * (unsigned_r_t(~unsigned_r_t(0U)) / unsigned_v_t(~unsigned_v_t(0U)))); + return TResult(unsigned_v_t(Value) * (unsigned_r_t(~unsigned_r_t(0U)) / unsigned_v_t(~unsigned_v_t(0U)))); } #if ETL_USING_8BIT_TYPES @@ -418,12 +418,12 @@ namespace etl /// Detects the presence of zero bytes. Partial compile time. ///\ingroup binary //*************************************************************************** - template + template ETL_CONSTEXPR14 bool has_zero_byte() { typedef typename etl::make_unsigned::type unsigned_t; ETL_CONSTEXPR14 const unsigned_t mask = etl::binary_fill(0x7FU); - const unsigned_t temp = unsigned_t(~((((unsigned_t(N) & mask) + mask) | unsigned_t(N)) | mask)); + const unsigned_t temp = unsigned_t(~((((unsigned_t(Value) & mask) + mask) | unsigned_t(Value)) | mask)); return (temp != 0U); } @@ -439,13 +439,13 @@ namespace etl } //*************************************************************************** - /// Detects the presence of a byte of value N. Partial compile time. + /// Detects the presence of a byte of value Value. Partial compile time. ///\ingroup binary //*************************************************************************** - template + template ETL_CONSTEXPR14 bool has_byte_n(TValue value) { - return etl::has_zero_byte(TValue(value ^ etl::binary_fill(N))); + return etl::has_zero_byte(TValue(value ^ etl::binary_fill(Value))); } #endif diff --git a/include/etl/callback_service.h b/include/etl/callback_service.h index 0549368c..203bcc60 100644 --- a/include/etl/callback_service.h +++ b/include/etl/callback_service.h @@ -64,16 +64,16 @@ namespace etl //************************************************************************* /// Registers a callback for the specified id. /// Compile time assert if the id is out of range. - /// \tparam ID The id of the callback. + /// \tparam Id The id of the callback. /// \param callback Reference to the callback. //************************************************************************* - template + template void register_callback(etl::ifunction& callback) { - ETL_STATIC_ASSERT(ID < (OFFSET + RANGE), "Callback Id out of range"); - ETL_STATIC_ASSERT(ID >= OFFSET, "Callback Id out of range"); + ETL_STATIC_ASSERT(Id < (OFFSET + RANGE), "Callback Id out of range"); + ETL_STATIC_ASSERT(Id >= OFFSET, "Callback Id out of range"); - lookup[ID - OFFSET] = &callback; + lookup[Id - OFFSET] = &callback; } //************************************************************************* @@ -102,15 +102,15 @@ namespace etl //************************************************************************* /// Executes the callback function for the index. /// Compile time assert if the id is out of range. - /// \tparam ID The id of the callback. + /// \tparam Id The id of the callback. //************************************************************************* - template + template void callback() { - ETL_STATIC_ASSERT(ID < (OFFSET + RANGE), "Callback Id out of range"); - ETL_STATIC_ASSERT(ID >= OFFSET, "Callback Id out of range"); + ETL_STATIC_ASSERT(Id < (OFFSET + RANGE), "Callback Id out of range"); + ETL_STATIC_ASSERT(Id >= OFFSET, "Callback Id out of range"); - (*lookup[ID - OFFSET])(ID); + (*lookup[Id - OFFSET])(Id); } //************************************************************************* diff --git a/include/etl/combinations.h b/include/etl/combinations.h index fdb32eca..ee764c80 100644 --- a/include/etl/combinations.h +++ b/include/etl/combinations.h @@ -45,18 +45,18 @@ namespace etl ///\ingroup combinations /// Calculates combinations. //*************************************************************************** - template + template struct combinations { - static ETL_CONSTANT size_t value = etl::permutations::value / etl::factorial::value; + static ETL_CONSTANT size_t value = etl::permutations::value / etl::factorial::value; }; - template - ETL_CONSTANT size_t combinations::value; + template + ETL_CONSTANT size_t combinations::value; #if ETL_USING_CPP17 - template - inline constexpr size_t combinations_v = combinations::value; + template + inline constexpr size_t combinations_v = combinations::value; #endif } diff --git a/include/etl/const_map.h b/include/etl/const_map.h index 23e0f46c..7d5597e2 100644 --- a/include/etl/const_map.h +++ b/include/etl/const_map.h @@ -580,11 +580,11 @@ namespace etl /// Template deduction guides. //************************************************************************* #if ETL_USING_CPP17 - template - const_map_ext(const etl::span&) -> const_map_ext; + template + const_map_ext(const etl::span&) -> const_map_ext; - template - const_map_ext(const TElements(&)[N]) -> const_map_ext; + template + const_map_ext(const TElements(&)[Size]) -> const_map_ext; #endif //************************************************************************* diff --git a/include/etl/const_multimap.h b/include/etl/const_multimap.h index afcd90b9..d6aa00e1 100644 --- a/include/etl/const_multimap.h +++ b/include/etl/const_multimap.h @@ -534,11 +534,11 @@ namespace etl /// Template deduction guides. //************************************************************************* #if ETL_USING_CPP17 - template - const_multimap_ext(const etl::span&) -> const_multimap_ext; + template + const_multimap_ext(const etl::span&) -> const_multimap_ext; - template - const_multimap_ext(const TElements(&)[N]) -> const_multimap_ext; + template + const_multimap_ext(const TElements(&)[Size]) -> const_multimap_ext; #endif //************************************************************************* diff --git a/include/etl/const_multiset.h b/include/etl/const_multiset.h index cc605b40..8d3df3de 100644 --- a/include/etl/const_multiset.h +++ b/include/etl/const_multiset.h @@ -485,11 +485,11 @@ namespace etl /// Template deduction guides. //************************************************************************* #if ETL_USING_CPP17 - template - const_multiset_ext(const etl::span&) -> const_multiset_ext; + template + const_multiset_ext(const etl::span&) -> const_multiset_ext; - template - const_multiset_ext(const TElements(&)[N]) -> const_multiset_ext; + template + const_multiset_ext(const TElements(&)[Size]) -> const_multiset_ext; #endif //************************************************************************* diff --git a/include/etl/const_set.h b/include/etl/const_set.h index 4ef5194a..20c4b67f 100644 --- a/include/etl/const_set.h +++ b/include/etl/const_set.h @@ -481,11 +481,11 @@ namespace etl /// Template deduction guides. //************************************************************************* #if ETL_USING_CPP17 - template - const_set_ext(const etl::span&) -> const_set_ext; + template + const_set_ext(const etl::span&) -> const_set_ext; - template - const_set_ext(const TElements(&)[N]) -> const_set_ext; + template + const_set_ext(const TElements(&)[Size]) -> const_set_ext; #endif //************************************************************************* diff --git a/include/etl/deque.h b/include/etl/deque.h index 606d8944..f70ba26e 100644 --- a/include/etl/deque.h +++ b/include/etl/deque.h @@ -199,7 +199,7 @@ namespace etl deque_base(size_t max_size_, size_t buffer_size_) : current_size(0) , CAPACITY(max_size_) - , BUFFER_SIZE(buffer_size_) + , Buffer_Size(buffer_size_) { } @@ -212,7 +212,7 @@ namespace etl size_type current_size; ///< The current number of elements in the deque. const size_type CAPACITY; ///< The maximum number of elements in the deque. - const size_type BUFFER_SIZE; ///< The number of elements in the buffer. + const size_type Buffer_Size; ///< The number of elements in the buffer. ETL_DECLARE_DEBUG_COUNT; ///< Internal debugging. }; @@ -276,7 +276,7 @@ namespace etl //*************************************************** iterator& operator ++() { - index = (static_cast(index) == p_deque->BUFFER_SIZE - 1) ? 0 : index + 1; + index = (static_cast(index) == p_deque->Buffer_Size - 1) ? 0 : index + 1; return *this; } @@ -285,7 +285,7 @@ namespace etl iterator operator ++(int) { iterator previous(*this); - index = (static_cast(index) == p_deque->BUFFER_SIZE - 1) ? 0 : index + 1; + index = (static_cast(index) == p_deque->Buffer_Size - 1) ? 0 : index + 1; return previous; } @@ -296,7 +296,7 @@ namespace etl if (offset > 0) { index += offset; - index = (static_cast(index) > p_deque->BUFFER_SIZE - 1) ? index - p_deque->BUFFER_SIZE : index; + index = (static_cast(index) > p_deque->Buffer_Size - 1) ? index - p_deque->Buffer_Size : index; } else if (offset < 0) { @@ -312,7 +312,7 @@ namespace etl if (offset > 0) { index -= offset; - index = (index < 0) ? index + p_deque->BUFFER_SIZE : index; + index = (index < 0) ? index + p_deque->Buffer_Size : index; } else if (offset < 0) { @@ -325,7 +325,7 @@ namespace etl //*************************************************** iterator& operator --() { - index = (index == 0) ? p_deque->BUFFER_SIZE - 1 : index - 1; + index = (index == 0) ? p_deque->Buffer_Size - 1 : index - 1; return *this; } @@ -334,7 +334,7 @@ namespace etl iterator operator --(int) { iterator previous(*this); - index = (index == 0) ? p_deque->BUFFER_SIZE - 1 : index - 1; + index = (index == 0) ? p_deque->Buffer_Size - 1 : index - 1; return previous; } @@ -470,7 +470,7 @@ namespace etl { if (index_ < firstIndex) { - return p_deque->BUFFER_SIZE + index_ - firstIndex; + return p_deque->Buffer_Size + index_ - firstIndex; } else { @@ -546,7 +546,7 @@ namespace etl //*************************************************** const_iterator& operator ++() { - index = (static_cast(index) == p_deque->BUFFER_SIZE - 1) ? 0 : index + 1; + index = (static_cast(index) == p_deque->Buffer_Size - 1) ? 0 : index + 1; return *this; } @@ -555,7 +555,7 @@ namespace etl const_iterator operator ++(int) { const_iterator previous(*this); - index = (static_cast(index) == p_deque->BUFFER_SIZE - 1) ? 0 : index + 1; + index = (static_cast(index) == p_deque->Buffer_Size - 1) ? 0 : index + 1; return previous; } @@ -566,7 +566,7 @@ namespace etl if (offset > 0) { index += offset; - index = (static_cast(index) > p_deque->BUFFER_SIZE - 1) ? index - p_deque->BUFFER_SIZE : index; + index = (static_cast(index) > p_deque->Buffer_Size - 1) ? index - p_deque->Buffer_Size : index; } else if (offset < 0) { @@ -582,7 +582,7 @@ namespace etl if (offset > 0) { index -= offset; - index = (index < 0) ? static_cast(index) + p_deque->BUFFER_SIZE : index; + index = (index < 0) ? static_cast(index) + p_deque->Buffer_Size : index; } else if (offset < 0) { @@ -595,7 +595,7 @@ namespace etl //*************************************************** const_iterator& operator --() { - index = (index == 0) ? p_deque->BUFFER_SIZE - 1 : index - 1; + index = (index == 0) ? p_deque->Buffer_Size - 1 : index - 1; return *this; } @@ -604,7 +604,7 @@ namespace etl const_iterator operator --(int) { const_iterator previous(*this); - index = (index == 0) ? p_deque->BUFFER_SIZE - 1 : index - 1; + index = (index == 0) ? p_deque->Buffer_Size - 1 : index - 1; return previous; } @@ -729,7 +729,7 @@ namespace etl { if (index_ < firstIndex) { - return p_deque->BUFFER_SIZE + index_ - firstIndex; + return p_deque->Buffer_Size + index_ - firstIndex; } else { @@ -2324,7 +2324,7 @@ namespace etl { const difference_type index = other.get_index(); const difference_type reference_index = other.container()._begin.index; - const size_t buffer_size = other.container().BUFFER_SIZE; + const size_t buffer_size = other.container().Buffer_Size; if (index < reference_index) { @@ -2379,14 +2379,14 @@ namespace etl private: - static ETL_CONSTANT size_t BUFFER_SIZE = MAX_SIZE + 1; + static ETL_CONSTANT size_t Buffer_Size = MAX_SIZE + 1; public: typedef T value_type; - typedef T* pointer; + typedef T* pointer; typedef const T* const_pointer; - typedef T& reference; + typedef T& reference; typedef const T& const_reference; typedef size_t size_type; typedef typename etl::iterator_traits::difference_type difference_type; @@ -2395,7 +2395,7 @@ namespace etl /// Default constructor. //************************************************************************* deque() - : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, BUFFER_SIZE) + : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, Buffer_Size) { this->initialise(); } @@ -2412,7 +2412,7 @@ namespace etl /// Copy constructor. //************************************************************************* deque(const deque& other) - : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, BUFFER_SIZE) + : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, Buffer_Size) { if (this != &other) { @@ -2425,7 +2425,7 @@ namespace etl /// Move constructor. //************************************************************************* deque(deque&& other) - : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, BUFFER_SIZE) + : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, Buffer_Size) { if (this != &other) { @@ -2446,7 +2446,7 @@ namespace etl //************************************************************************* template deque(TIterator begin_, TIterator end_, typename etl::enable_if::value, int>::type = 0) - : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, BUFFER_SIZE) + : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, Buffer_Size) { this->assign(begin_, end_); } @@ -2455,7 +2455,7 @@ namespace etl /// Assigns data to the deque. //************************************************************************* explicit deque(size_t n, const_reference value = value_type()) - : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, BUFFER_SIZE) + : etl::ideque(reinterpret_cast(buffer.raw), MAX_SIZE, Buffer_Size) { this->assign(n, value); } @@ -2465,7 +2465,7 @@ namespace etl /// Construct from initializer_list. //************************************************************************* deque(std::initializer_list init) - : ideque(reinterpret_cast(buffer.raw), MAX_SIZE, BUFFER_SIZE) + : ideque(reinterpret_cast(buffer.raw), MAX_SIZE, Buffer_Size) { this->assign(init.begin(), init.end()); } @@ -2524,7 +2524,7 @@ namespace etl private: /// The uninitialised buffer of T used in the deque. - etl::uninitialized_buffer_of buffer; + etl::uninitialized_buffer_of buffer; }; template diff --git a/include/etl/error_handler.h b/include/etl/error_handler.h index ca417ae7..8373c17d 100644 --- a/include/etl/error_handler.h +++ b/include/etl/error_handler.h @@ -263,7 +263,7 @@ namespace etl typedef void(*assert_function_ptr_t)(const etl::exception&); // Stores the assert function pointer and default assert function. - template + template struct assert_handler { static assert_function_ptr_t assert_function_ptr; @@ -274,8 +274,8 @@ namespace etl } }; - template - assert_function_ptr_t assert_handler::assert_function_ptr = assert_handler::default_assert; + template + assert_function_ptr_t assert_handler::assert_function_ptr = assert_handler::default_assert; } //*************************************************************************** diff --git a/include/etl/factorial.h b/include/etl/factorial.h index cfe421fb..3bd30c61 100644 --- a/include/etl/factorial.h +++ b/include/etl/factorial.h @@ -36,7 +36,7 @@ SOFTWARE. #include ///\defgroup factorial factorial -/// fibonacci : Calculates the Nth factorial value. +/// fibonacci : Calculates the factorial of Value. ///\ingroup maths namespace etl @@ -44,16 +44,16 @@ namespace etl //*************************************************************************** ///\ingroup fibonacci /// Defines value as the Nth factorial number. - ///\tparam N The number to find the factorial value of. + ///\tparam Value The number to find the factorial value of. //*************************************************************************** - template + template struct factorial { - static ETL_CONSTANT size_t value = N * factorial::value; + static ETL_CONSTANT size_t value = Value * factorial::value; }; //*************************************************************************** - // Specialisation for N = 0 + // Specialisation for Value = 0 //*************************************************************************** template <> struct factorial<0> @@ -61,12 +61,12 @@ namespace etl static ETL_CONSTANT size_t value = 1; }; - template - ETL_CONSTANT size_t factorial::value; + template + ETL_CONSTANT size_t factorial::value; #if ETL_USING_CPP17 - template - inline constexpr size_t factorial_v = factorial::value; + template + inline constexpr size_t factorial_v = factorial::value; #endif } diff --git a/include/etl/fibonacci.h b/include/etl/fibonacci.h index fb4a0d62..ba4f2ddf 100644 --- a/include/etl/fibonacci.h +++ b/include/etl/fibonacci.h @@ -36,7 +36,7 @@ SOFTWARE. #include ///\defgroup fibonacci fibonacci -/// fibonacci : Calculates the Nth Fibonacci value. +/// fibonacci : Calculates the Nth Fibonacci value. ///\ingroup maths namespace etl @@ -44,16 +44,16 @@ namespace etl //*************************************************************************** ///\ingroup fibonacci /// Defines value as the Nth Fibonacci number. - ///\tparam N The number to find the Fibonacci value of. + ///\tparam Value The number to find the Fibonacci value of. //*************************************************************************** - template + template struct fibonacci { - static ETL_CONSTANT size_t value = fibonacci::value + fibonacci::value; + static ETL_CONSTANT size_t value = fibonacci::value + fibonacci::value; }; //*************************************************************************** - // Specialisation for N = 1 + // Specialisation for Value = 1 //*************************************************************************** template <> struct fibonacci<1> @@ -62,7 +62,7 @@ namespace etl }; //*************************************************************************** - // Specialisation for N = 0 + // Specialisation for Value = 0 //*************************************************************************** template <> struct fibonacci<0> @@ -70,12 +70,12 @@ namespace etl static ETL_CONSTANT size_t value = 0UL; }; - template - ETL_CONSTANT size_t fibonacci::value; + template + ETL_CONSTANT size_t fibonacci::value; #if ETL_USING_CPP17 - template - inline constexpr size_t fibonacci_v = fibonacci::value; + template + inline constexpr size_t fibonacci_v = fibonacci::value; #endif } diff --git a/include/etl/gcd.h b/include/etl/gcd.h index 77df935c..8a954e0d 100644 --- a/include/etl/gcd.h +++ b/include/etl/gcd.h @@ -21,7 +21,7 @@ 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 +FITNESS FOR Value1 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 @@ -41,16 +41,16 @@ namespace etl // Greatest Common Divisor. // Compile time. //*************************************************************************** - template + template struct gcd_const { - static ETL_CONSTANT intmax_t value = gcd_const::value; + static ETL_CONSTANT intmax_t value = gcd_const::value; }; - template - struct gcd_const + template + struct gcd_const { - static ETL_CONSTANT intmax_t value = A; + static ETL_CONSTANT intmax_t value = Value1; }; //*************************************************************************** diff --git a/include/etl/generators/type_lookup_generator.h b/include/etl/generators/type_lookup_generator.h index bcc10e2d..f1f2bb7e 100644 --- a/include/etl/generators/type_lookup_generator.h +++ b/include/etl/generators/type_lookup_generator.h @@ -69,7 +69,7 @@ namespace etl enum { - ID = ID_ + Id = ID_ }; }; @@ -96,19 +96,19 @@ namespace etl struct nulltype {}; // For N type pairs. - template + template struct type_from_id_helper { - using type = typename etl::conditional::type>::type; + typename type_from_id_helper::type>::type; }; // Specialisation for 1 type pair. - template - struct type_from_id_helper + template + struct type_from_id_helper { - using type = typename etl::conditional::type; }; @@ -118,16 +118,16 @@ namespace etl //************************************ // type_from_id //************************************ - template + template struct type_from_id { - using type = typename type_from_id_helper::type; + using type = typename type_from_id_helper::type; static_assert(!(etl::is_same::value), "Invalid id"); }; - template - using type_from_id_t = typename type_from_id::type; + template + using type_from_id_t = typename type_from_id::type; private: @@ -137,14 +137,14 @@ namespace etl template struct id_from_type_helper { - static constexpr size_t value = etl::is_same::value ? size_t(T1::ID) : id_from_type_helper::value; + static constexpr size_t value = etl::is_same::value ? size_t(T1::Id) : id_from_type_helper::value; }; // Specialisation for 1 type pair. template struct id_from_type_helper { - static constexpr size_t value = etl::is_same::value ? size_t(T1::ID) : UNKNOWN; + static constexpr size_t value = etl::is_same::value ? size_t(T1::Id) : UNKNOWN; }; public: @@ -241,12 +241,12 @@ namespace etl cog.outl("public:") cog.outl("") cog.outl(" //************************************") - cog.outl(" template ") + cog.outl(" template ") cog.outl(" struct type_from_id") cog.outl(" {") cog.outl(" typedef ") for n in range(1, int(NTypes) + 1): - cog.outl(" typename etl::conditional >") for n in range(1, int(NTypes) + 1): if n == int(NTypes): @@ -274,7 +274,7 @@ namespace etl cog.outl(" {") cog.outl(" value =") for n in range(1, int(NTypes) + 1) : - cog.outl(" (unsigned int) etl::is_same::value ? (unsigned int)T%s::ID :" % (n, n)) + cog.outl(" (unsigned int) etl::is_same::value ? (unsigned int)T%s::Id :" % (n, n)) cog.outl(" (unsigned int) UNKNOWN") cog.outl(" };") cog.outl("") diff --git a/include/etl/generators/type_select_generator.h b/include/etl/generators/type_select_generator.h index 9ab0f808..aab2d0f3 100644 --- a/include/etl/generators/type_select_generator.h +++ b/include/etl/generators/type_select_generator.h @@ -66,40 +66,40 @@ namespace etl private: //*********************************** - template + template struct type_select_helper { - using type = typename etl::conditional::type>::type; + typename type_select_helper::type>::type; }; //*********************************** - template - struct type_select_helper + template + struct type_select_helper { using type = T1; }; public: - template + template struct select { - static_assert(ID < sizeof...(TTypes), "Illegal type_select::select index"); + static_assert(Id < sizeof...(TTypes), "Illegal type_select::select index"); - using type = typename type_select_helper::type; + using type = typename type_select_helper::type; }; - template - using select_t = typename select::type; + template + using select_t = typename select::type; }; //*************************************************************************** // Select type alias //*************************************************************************** - template - using type_select_t = typename etl::type_select:: template select_t; + template + using type_select_t = typename etl::type_select:: template select_t; #else @@ -116,12 +116,12 @@ namespace etl cog.outl("{") cog.outl("public:") cog.outl("") - cog.outl(" template ") + cog.outl(" template ") cog.outl(" struct select") cog.outl(" {") - cog.outl(" typedef typename etl::conditional >") cog.out(" ") for n in range(1, int(NTypes)) : @@ -131,7 +131,7 @@ namespace etl cog.out(" ") cog.outl("::type type;") cog.outl(""); - cog.outl(" ETL_STATIC_ASSERT(ID < %s, \"Invalid ID\");" % int(NTypes)); + cog.outl(" ETL_STATIC_ASSERT(Id < %s, \"Invalid Id\");" % int(NTypes)); cog.outl(" };") cog.outl("};") @@ -151,12 +151,12 @@ namespace etl cog.outl("T%s>" % (s - 1)) cog.outl("{") cog.outl("public:") - cog.outl(" template ") + cog.outl(" template ") cog.outl(" struct select") cog.outl(" {") - cog.outl(" typedef typename etl::conditional >") cog.out(" ") for n in range(1, s) : @@ -166,7 +166,7 @@ namespace etl cog.out(" ") cog.outl("::type type;") cog.outl(""); - cog.outl(" ETL_STATIC_ASSERT(ID < %s, \"Invalid ID\");" % s); + cog.outl(" ETL_STATIC_ASSERT(Id < %s, \"Invalid Id\");" % s); cog.outl(" };") cog.outl("};") ]]]*/ diff --git a/include/etl/generators/type_traits_generator.h b/include/etl/generators/type_traits_generator.h index aaba4cfa..2e86da2f 100644 --- a/include/etl/generators/type_traits_generator.h +++ b/include/etl/generators/type_traits_generator.h @@ -599,8 +599,8 @@ namespace etl struct extent : integral_constant::value> {}; #if ETL_USING_CPP17 - template - inline constexpr size_t extent_v = extent::value; + template + inline constexpr size_t extent_v = extent::value; #endif //*************************************************************************** @@ -1579,10 +1579,10 @@ typedef integral_constant true_type; /// Requires that the class has defined 'base_type'. //*************************************************************************** // Recursive definition of the type. - template + template struct nth_base { - typedef typename nth_base::type type; + typedef typename nth_base::type type; }; template @@ -1592,8 +1592,8 @@ typedef integral_constant true_type; }; #if ETL_USING_CPP11 - template - using nth_base_t = typename nth_base::type; + template + using nth_base_t = typename nth_base::type; #endif //*************************************************************************** diff --git a/include/etl/lcm.h b/include/etl/lcm.h index 575ff576..ef3008f6 100644 --- a/include/etl/lcm.h +++ b/include/etl/lcm.h @@ -21,7 +21,7 @@ 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 +FITNESS FOR Value1 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 @@ -42,10 +42,10 @@ namespace etl // Least Common Multiple. // Compile time. //*************************************************************************** - template + template struct lcm_const { - static ETL_CONSTANT intmax_t value = (A / gcd_const::value) * B; + static ETL_CONSTANT intmax_t value = (Value1 / gcd_const::value) * Value2; }; //*************************************************************************** diff --git a/include/etl/log.h b/include/etl/log.h index b492d5a8..592addc2 100644 --- a/include/etl/log.h +++ b/include/etl/log.h @@ -36,7 +36,7 @@ SOFTWARE. #include ///\defgroup log log -/// log : Calculates logs to any base, rounded down to the nearest integer.
+/// log : Calculates logs to any base, rounded down to the nearest integer.
/// log2 : Calculates logs to base 2, rounded down to the nearest integer.
/// log10 : Calculates logs to base 10, rounded down to the nearest integer.
///\ingroup maths @@ -48,24 +48,24 @@ namespace etl /// The base generic log template. /// Defines value as the log of the number at the specified base. /// The result is rounded down to the next integer. - ///\tparam NV The number to find the log of. - ///\tparam BASE The base of the log. + ///\tparam Value The number to find the log of. + ///\tparam Base The base of the log. //*************************************************************************** - template + template struct log { enum value_type { // Recursive definition. - value = (NV >= BASE) ? 1 + log::value : 0 + value = (Value >= Base) ? 1 + log::value : 0 }; }; //*************************************************************************** // Specialisation for N = 1 //*************************************************************************** - template - struct log<1, BASE> + template + struct log<1, Base> { enum value_type { @@ -76,8 +76,8 @@ namespace etl //*************************************************************************** // Specialisation for N = 0 //*************************************************************************** - template - struct log<0, BASE> + template + struct log<0, Base> { enum value_type { @@ -86,44 +86,44 @@ namespace etl }; #if ETL_USING_CPP17 - template - inline constexpr size_t log_v = log::value; + template + inline constexpr size_t log_v = log::value; #endif //*************************************************************************** ///\ingroup log /// Calculates base 2 logs. //*************************************************************************** - template + template struct log2 { enum value_type { - value = log::value + value = log::value }; }; #if ETL_USING_CPP17 - template - inline constexpr size_t log2_v = log2::value; + template + inline constexpr size_t log2_v = log2::value; #endif //*************************************************************************** ///\ingroup log /// Calculates base 10 logs. //*************************************************************************** - template + template struct log10 { enum value_type { - value = log::value + value = log::value }; }; #if ETL_USING_CPP17 - template - inline constexpr size_t log10_v = log10::value; + template + inline constexpr size_t log10_v = log10::value; #endif } diff --git a/include/etl/nth_type.h b/include/etl/nth_type.h index 9d79a9e2..01f2a6e8 100644 --- a/include/etl/nth_type.h +++ b/include/etl/nth_type.h @@ -38,10 +38,10 @@ namespace etl namespace private_nth_type { //*********************************** - template + template struct nth_type_helper { - using type = typename nth_type_helper::type; + using type = typename nth_type_helper::type; }; template @@ -52,17 +52,17 @@ namespace etl } //*********************************** - template + template struct nth_type { - ETL_STATIC_ASSERT(N < sizeof...(TTypes), "etl::nth_type index 'N' out of bounds"); + ETL_STATIC_ASSERT(Index < sizeof...(TTypes), "etl::nth_type index 'Index' out of bounds"); - using type = typename private_nth_type::nth_type_helper::type; + using type = typename private_nth_type::nth_type_helper::type; }; //*********************************** - template - using nth_type_t = typename nth_type::type; + template + using nth_type_t = typename nth_type::type; } #endif #endif diff --git a/include/etl/null_type.h b/include/etl/null_type.h index 31ae246a..83474684 100644 --- a/include/etl/null_type.h +++ b/include/etl/null_type.h @@ -35,7 +35,7 @@ SOFTWARE. namespace etl { - template + template class null_type { }; diff --git a/include/etl/parameter_pack.h b/include/etl/parameter_pack.h index 258a8846..bc3d5cc0 100644 --- a/include/etl/parameter_pack.h +++ b/include/etl/parameter_pack.h @@ -89,36 +89,36 @@ namespace etl //*************************************************************************** /// type_from_index //*************************************************************************** - template + template class type_from_index { private: //*********************************** - template + template struct type_from_index_helper { - using type = typename etl::conditional::type>::type; + using type = typename etl::conditional::type>::type; }; //*********************************** - template - struct type_from_index_helper + template + struct type_from_index_helper { using type = T1; }; public: - static_assert(I < sizeof...(TTypes), "Index out of bounds of parameter pack"); + static_assert(Index < sizeof...(TTypes), "Index out of bounds of parameter pack"); /// Template alias - using type = typename type_from_index_helper::type; + using type = typename type_from_index_helper::type; }; //*********************************** - template - using type_from_index_t = typename type_from_index::type; + template + using type_from_index_t = typename type_from_index::type; }; //*********************************** diff --git a/include/etl/permutations.h b/include/etl/permutations.h index b1c41ab0..8b733892 100644 --- a/include/etl/permutations.h +++ b/include/etl/permutations.h @@ -43,31 +43,31 @@ namespace etl ///\ingroup permutations /// Calculates permutations. //*************************************************************************** - template + template struct permutations { - static ETL_CONSTANT size_t value = NV * permutations::value; + static ETL_CONSTANT size_t value = Value * permutations::value; }; - template - ETL_CONSTANT size_t permutations::value; + template + ETL_CONSTANT size_t permutations::value; //*************************************************************************** /// Calculates permutations. /// Specialisation for KV == 0. //*************************************************************************** - template - struct permutations + template + struct permutations { static ETL_CONSTANT size_t value = 1UL; }; - template - ETL_CONSTANT size_t permutations::value; + template + ETL_CONSTANT size_t permutations::value; #if ETL_USING_CPP17 - template - inline constexpr size_t permutations_v = permutations::value; + template + inline constexpr size_t permutations_v = permutations::value; #endif } diff --git a/include/etl/poly_span.h b/include/etl/poly_span.h index 68252561..376a0c97 100644 --- a/include/etl/poly_span.h +++ b/include/etl/poly_span.h @@ -311,36 +311,36 @@ namespace etl //************************************************************************* /// Construct from C array //************************************************************************* - template - ETL_CONSTEXPR poly_span(U(&begin_)[N]) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(U(&begin_)[Size]) ETL_NOEXCEPT : pbegin(begin_) , element_size(sizeof(U)) { - ETL_STATIC_ASSERT(N <= Extent, "Array data overflow"); + ETL_STATIC_ASSERT(Size <= Extent, "Array data overflow"); ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of the data type"); } //************************************************************************* /// Construct from etl::array. //************************************************************************* - template - ETL_CONSTEXPR poly_span(etl::array& a) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(etl::array& a) ETL_NOEXCEPT : pbegin(a.data()) , element_size(sizeof(U)) { - ETL_STATIC_ASSERT(N <= Extent, "Array data overflow"); + ETL_STATIC_ASSERT(Size <= Extent, "Array data overflow"); ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of the data type"); } //************************************************************************* /// Construct from etl::array. //************************************************************************* - template - ETL_CONSTEXPR poly_span(const etl::array& a) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(const etl::array& a) ETL_NOEXCEPT : pbegin(a.data()) , element_size(sizeof(U)) { - ETL_STATIC_ASSERT(N <= Extent, "Array data overflow"); + ETL_STATIC_ASSERT(Size <= Extent, "Array data overflow"); ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of the data type"); } @@ -348,24 +348,24 @@ namespace etl //************************************************************************* /// Construct from std::array. //************************************************************************* - template - ETL_CONSTEXPR poly_span(std::array& a) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(std::array& a) ETL_NOEXCEPT : pbegin(a.data()) , element_size(sizeof(U)) { - ETL_STATIC_ASSERT(N <= Extent, "Array data overflow"); + ETL_STATIC_ASSERT(Size <= Extent, "Array data overflow"); ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of U"); } //************************************************************************* /// Construct from std::array. //************************************************************************* - template - ETL_CONSTEXPR poly_span(const std::array& a) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(const std::array& a) ETL_NOEXCEPT : pbegin(a.data()) , element_size(sizeof(U)) { - ETL_STATIC_ASSERT(N <= Extent, "Array data overflow"); + ETL_STATIC_ASSERT(Size <= Extent, "Array data overflow"); ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of U"); } #endif @@ -682,11 +682,11 @@ namespace etl //************************************************************************* /// Construct from C array //************************************************************************* - template - ETL_CONSTEXPR poly_span(U(&begin_)[N]) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(U(&begin_)[Size]) ETL_NOEXCEPT : pbegin(begin_) , element_size(sizeof(U)) - , span_extent(N) + , span_extent(Size) { ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of the data type"); } @@ -694,11 +694,11 @@ namespace etl //************************************************************************* /// Construct from etl::array. //************************************************************************* - template - ETL_CONSTEXPR poly_span(etl::array& a) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(etl::array& a) ETL_NOEXCEPT : pbegin(a.data()) , element_size(sizeof(U)) - , span_extent(N) + , span_extent(Size) { ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of the data type"); } @@ -706,11 +706,11 @@ namespace etl //************************************************************************* /// Construct from etl::array. //************************************************************************* - template - ETL_CONSTEXPR poly_span(const etl::array& a) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(const etl::array& a) ETL_NOEXCEPT : pbegin(a.data()) , element_size(sizeof(U)) - , span_extent(N) + , span_extent(Size) { ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of the data type"); } @@ -719,11 +719,11 @@ namespace etl //************************************************************************* /// Construct from std::array. //************************************************************************* - template - ETL_CONSTEXPR poly_span(std::array& a) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(std::array& a) ETL_NOEXCEPT : pbegin(a.data()) , element_size(sizeof(U)) - , span_extent(N) + , span_extent(Size) { ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of U"); } @@ -731,11 +731,11 @@ namespace etl //************************************************************************* /// Construct from std::array. //************************************************************************* - template - ETL_CONSTEXPR poly_span(const std::array& a) ETL_NOEXCEPT + template + ETL_CONSTEXPR poly_span(const std::array& a) ETL_NOEXCEPT : pbegin(a.data()) , element_size(sizeof(U)) - , span_extent(N) + , span_extent(Size) { ETL_STATIC_ASSERT((etl::is_base_of::value || etl::is_same::value), "TBase not a base of U"); } @@ -1002,26 +1002,26 @@ protected: poly_span(const TIterator begin_, const TSize size_) ->poly_span, etl::dynamic_extent>; - template - poly_span(T(&)[N]) - ->poly_span; + template + poly_span(T(&)[Size]) + ->poly_span; - template - poly_span(etl::array&) - ->poly_span; + template + poly_span(etl::array&) + ->poly_span; - template - poly_span(const etl::array&) - ->poly_span; + template + poly_span(const etl::array&) + ->poly_span; #if ETL_USING_STL - template - poly_span(std::array&) - ->poly_span; + template + poly_span(std::array&) + ->poly_span; - template - poly_span(const std::array&) - ->poly_span; + template + poly_span(const std::array&) + ->poly_span; #endif #endif diff --git a/include/etl/power.h b/include/etl/power.h index 9f217dba..7a22c6e8 100644 --- a/include/etl/power.h +++ b/include/etl/power.h @@ -38,7 +38,7 @@ SOFTWARE. #include ///\defgroup power power -/// power : Calculates N to the power POWER. +/// power : Calculates N to the power Power. ///\ingroup maths namespace etl @@ -55,46 +55,46 @@ namespace etl //*************************************************************************** ///\ingroup power /// Calculates powers. - ///\note Only supports positive N. + ///\note Only supports positive Value. //*************************************************************************** - template + template struct power { - static ETL_CONSTANT private_power::type value = NV * power::value; + static ETL_CONSTANT private_power::type value = Value * power::value; }; - template - ETL_CONSTANT private_power::type power::value; + template + ETL_CONSTANT private_power::type power::value; //*************************************************************************** /// Calculates powers. - ///\note Only supports positive N. - /// Specialisation for POWER == 0. + ///\note Only supports positive Value. + /// Specialisation for Power == 0. //*************************************************************************** - template - struct power + template + struct power { static ETL_CONSTANT private_power::type value = 1; }; - template - ETL_CONSTANT private_power::type power::value; + template + ETL_CONSTANT private_power::type power::value; #if ETL_USING_CPP17 - template - inline constexpr size_t power_v = power::value; + template + inline constexpr size_t power_v = power::value; #endif //*************************************************************************** ///\ingroup power /// Calculates the rounded up power of 2. //*************************************************************************** - template + template struct power_of_2_round_up { enum value_type { - value = 1 << (etl::log2::value + 1) + value = 1 << (etl::log2::value + 1) }; }; @@ -113,20 +113,20 @@ namespace etl }; #if ETL_USING_CPP17 - template - inline constexpr size_t power_of_2_round_up_v = power_of_2_round_up::value; + template + inline constexpr size_t power_of_2_round_up_v = power_of_2_round_up::value; #endif //*************************************************************************** ///\ingroup power /// Calculates the rounded down power of 2. //*************************************************************************** - template + template struct power_of_2_round_down { enum value_type { - value = 1 << (etl::log2::value) + value = 1 << (etl::log2::value) }; }; @@ -173,18 +173,18 @@ namespace etl }; #if ETL_USING_CPP17 - template - inline constexpr size_t power_of_2_round_down_v = power_of_2_round_down::value; + template + inline constexpr size_t power_of_2_round_down_v = power_of_2_round_down::value; #endif //*************************************************************************** ///\ingroup power /// Checks if N is a power of 2. //*************************************************************************** - template + template struct is_power_of_2 { - static ETL_CONSTANT bool value = (NV & (NV - 1)) == 0; + static ETL_CONSTANT bool value = (Value & (Value - 1)) == 0; }; //*************************************************************************** @@ -209,12 +209,12 @@ namespace etl static ETL_CONSTANT bool value = false; }; - template - ETL_CONSTANT bool is_power_of_2::value; + template + ETL_CONSTANT bool is_power_of_2::value; #if ETL_USING_CPP17 - template - inline constexpr size_t is_power_of_2_v = is_power_of_2::value; + template + inline constexpr size_t is_power_of_2_v = is_power_of_2::value; #endif } diff --git a/include/etl/private/variant_legacy.h b/include/etl/private/variant_legacy.h index d6eb539a..c32044af 100644 --- a/include/etl/private/variant_legacy.h +++ b/include/etl/private/variant_legacy.h @@ -66,7 +66,7 @@ namespace etl /// Placeholder for unused template parameters. /// This class is never instantiated. //************************************************************************* - template + template struct no_type { }; diff --git a/include/etl/span.h b/include/etl/span.h index 840facb8..935e82da 100644 --- a/include/etl/span.h +++ b/include/etl/span.h @@ -219,8 +219,8 @@ namespace etl /// Copy constructor /// From fixed extent span. //************************************************************************* - template - ETL_CONSTEXPR span(const etl::span& other, typename etl::enable_if::type* = 0) ETL_NOEXCEPT + template + ETL_CONSTEXPR span(const etl::span& other, typename etl::enable_if::type* = 0) ETL_NOEXCEPT : pbegin(other.data()) { } @@ -229,8 +229,8 @@ namespace etl /// Copy constructor /// From dynamic extent span. //************************************************************************* - template - ETL_CONSTEXPR14 span(const etl::span& other, typename etl::enable_if::type* = 0) + template + ETL_CONSTEXPR14 span(const etl::span& other, typename etl::enable_if::type* = 0) : pbegin(other.data()) { ETL_ASSERT(other.size() == Extent, ETL_ERROR(span_size_mismatch)); @@ -657,8 +657,8 @@ namespace etl //************************************************************************* /// Copy constructor //************************************************************************* - template - ETL_CONSTEXPR span(const etl::span& other) ETL_NOEXCEPT + template + ETL_CONSTEXPR span(const etl::span& other) ETL_NOEXCEPT : pbegin(other.data()) , pend(other.data() + other.size()) { @@ -1082,26 +1082,26 @@ namespace etl span(const TIterator begin_, const TSize size_) ->span, etl::dynamic_extent>; - template - span(T(&)[N]) - -> span; + template + span(T(&)[Size]) + -> span; - template - span(etl::array&) - -> span; + template + span(etl::array&) + -> span; - template - span(const etl::array&) - -> span; + template + span(const etl::array&) + -> span; #if ETL_USING_STL && ETL_USING_CPP11 - template - span(std::array&) - ->span; + template + span(std::array&) + ->span; - template - span(const std::array&) - ->span; + template + span(const std::array&) + ->span; #endif #endif @@ -1123,22 +1123,22 @@ namespace etl //************************************************************************* /// Obtains a view to the byte representation of the elements of the span s. //************************************************************************* - template - span - as_bytes(span s) ETL_NOEXCEPT + template + span + as_bytes(span s) ETL_NOEXCEPT { - return span(reinterpret_cast(s.data()), s.size_bytes()); + return span(reinterpret_cast(s.data()), s.size_bytes()); } //************************************************************************* /// Obtains a view to the byte representation of the elements of the span s. //************************************************************************* - template - span - as_writable_bytes(span s) ETL_NOEXCEPT + template + span + as_writable_bytes(span s) ETL_NOEXCEPT { ETL_STATIC_ASSERT(!etl::is_const::value, "span must be of non-const type"); - return span(reinterpret_cast(s.data()), s.size_bytes()); + return span(reinterpret_cast(s.data()), s.size_bytes()); } } diff --git a/include/etl/sqrt.h b/include/etl/sqrt.h index 31cc8d47..6c79e8a7 100644 --- a/include/etl/sqrt.h +++ b/include/etl/sqrt.h @@ -40,14 +40,14 @@ SOFTWARE. namespace etl { //*************************************************************************** - /// Calculates the smallest value that, when squared, will be not greater than VALUE. + /// Calculates the smallest value that, when squared, will be not greater than Value. //*************************************************************************** - template + template struct sqrt { - typedef typename etl::conditional<((I * I) > VALUE), - etl::constant, - etl::sqrt >::type type; + typedef typename etl::conditional<((Root * Root) > Value), + etl::constant, + etl::sqrt >::type type; #if ETL_USING_CPP11 static constexpr size_t value = type::value; @@ -61,13 +61,13 @@ namespace etl }; #if ETL_USING_CPP11 - template - constexpr size_t sqrt::value; + template + constexpr size_t sqrt::value; #endif #if ETL_USING_CPP17 - template - inline constexpr size_t sqrt_v = sqrt::value; + template + inline constexpr size_t sqrt_v = sqrt::value; #endif } diff --git a/include/etl/tuple.h b/include/etl/tuple.h index 51813b4e..50cf1050 100644 --- a/include/etl/tuple.h +++ b/include/etl/tuple.h @@ -1146,12 +1146,12 @@ namespace etl } // Recursive case: compare the current element and recurse. - template + template ETL_NODISCARD ETL_CONSTEXPR14 - bool tuple_equality(const TTuple1& lhs, const TTuple2& rhs, etl::index_sequence) + bool tuple_equality(const TTuple1& lhs, const TTuple2& rhs, etl::index_sequence) { - return etl::get(lhs) == etl::get(rhs) && tuple_equality(lhs, rhs, etl::index_sequence{}); + return etl::get(lhs) == etl::get(rhs) && tuple_equality(lhs, rhs, etl::index_sequence{}); } //*************************************************************************** @@ -1167,17 +1167,17 @@ namespace etl } // Recursively compare the current element and the rest. - template + template ETL_NODISCARD ETL_CONSTEXPR14 - bool tuple_less_than(const TTuple1& lhs, const TTuple2& rhs, etl::index_sequence) + bool tuple_less_than(const TTuple1& lhs, const TTuple2& rhs, etl::index_sequence) { - if (get(lhs) < get(rhs)) + if (get(lhs) < get(rhs)) { return true; } - if (get(rhs) < get(lhs)) + if (get(rhs) < get(lhs)) { return false; } @@ -1282,7 +1282,7 @@ namespace std template struct tuple_size; - template + template struct tuple_element; #endif @@ -1297,10 +1297,10 @@ namespace std //*************************************************************************** /// Specialisation of tuple_element to allow the use of C++ structured bindings. //*************************************************************************** - template - struct tuple_element> + template + struct tuple_element> { - using type = typename etl::nth_type_t; + using type = typename etl::nth_type_t; }; } diff --git a/include/etl/type_lookup.h b/include/etl/type_lookup.h index 31803095..972ca9e1 100644 --- a/include/etl/type_lookup.h +++ b/include/etl/type_lookup.h @@ -57,7 +57,7 @@ namespace etl enum { - ID = ID_ + Id = ID_ }; }; @@ -84,19 +84,19 @@ namespace etl struct nulltype {}; // For N type pairs. - template + template struct type_from_id_helper { - using type = typename etl::conditional::type>::type; + typename type_from_id_helper::type>::type; }; // Specialisation for 1 type pair. - template - struct type_from_id_helper + template + struct type_from_id_helper { - using type = typename etl::conditional::type; }; @@ -106,16 +106,16 @@ namespace etl //************************************ // type_from_id //************************************ - template + template struct type_from_id { - using type = typename type_from_id_helper::type; + using type = typename type_from_id_helper::type; static_assert(!(etl::is_same::value), "Invalid id"); }; - template - using type_from_id_t = typename type_from_id::type; + template + using type_from_id_t = typename type_from_id::type; private: @@ -125,14 +125,14 @@ namespace etl template struct id_from_type_helper { - static constexpr size_t value = etl::is_same::value ? size_t(T1::ID) : id_from_type_helper::value; + static constexpr size_t value = etl::is_same::value ? size_t(T1::Id) : id_from_type_helper::value; }; // Specialisation for 1 type pair. template struct id_from_type_helper { - static constexpr size_t value = etl::is_same::value ? size_t(T1::ID) : UNKNOWN; + static constexpr size_t value = etl::is_same::value ? size_t(T1::Id) : UNKNOWN; }; public: @@ -239,26 +239,26 @@ namespace etl public: //************************************ - template + template struct type_from_id { typedef - typename etl::conditional >::type>::type>::type>::type> ::type>::type>::type>::type> ::type>::type>::type>::type> @@ -279,22 +279,22 @@ namespace etl enum { value = - (unsigned int) etl::is_same::value ? (unsigned int)T1::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T2::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T3::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T4::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T5::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T6::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T7::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T8::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T9::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T10::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T11::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T12::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T13::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T14::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T15::ID : - (unsigned int) etl::is_same::value ? (unsigned int)T16::ID : + (unsigned int) etl::is_same::value ? (unsigned int)T1::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T2::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T3::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T4::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T5::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T6::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T7::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T8::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T9::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T10::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T11::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T12::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T13::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T14::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T15::Id : + (unsigned int) etl::is_same::value ? (unsigned int)T16::Id : (unsigned int) UNKNOWN }; diff --git a/include/etl/type_select.h b/include/etl/type_select.h index 3fd22dcc..36b9be0d 100644 --- a/include/etl/type_select.h +++ b/include/etl/type_select.h @@ -54,40 +54,40 @@ namespace etl private: //*********************************** - template + template struct type_select_helper { - using type = typename etl::conditional::type>::type; + typename type_select_helper::type>::type; }; //*********************************** - template - struct type_select_helper + template + struct type_select_helper { using type = T1; }; public: - template + template struct select { - static_assert(ID < sizeof...(TTypes), "Illegal type_select::select index"); + static_assert(Id < sizeof...(TTypes), "Illegal type_select::select index"); - using type = typename type_select_helper::type; + using type = typename type_select_helper::type; }; - template - using select_t = typename select::type; + template + using select_t = typename select::type; }; //*************************************************************************** // Select type alias //*************************************************************************** - template - using type_select_t = typename etl::type_select:: template select_t; + template + using type_select_t = typename etl::type_select:: template select_t; #else @@ -114,30 +114,30 @@ namespace etl { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type>::type> ::type>::type>::type>::type>::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 16, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 16, "Invalid Id"); }; }; @@ -162,29 +162,29 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type>::type> ::type>::type>::type>::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 15, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 15, "Invalid Id"); }; }; @@ -208,28 +208,28 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type>::type> ::type>::type>::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 14, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 14, "Invalid Id"); }; }; @@ -252,27 +252,27 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type>::type> ::type>::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 13, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 13, "Invalid Id"); }; }; @@ -294,26 +294,26 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type>::type> ::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 12, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 12, "Invalid Id"); }; }; @@ -334,25 +334,25 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type>::type> ::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 11, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 11, "Invalid Id"); }; }; @@ -372,24 +372,24 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type>::type> ::type>::type type; - ETL_STATIC_ASSERT(ID < 10, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 10, "Invalid Id"); }; }; @@ -408,23 +408,23 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type>::type> ::type type; - ETL_STATIC_ASSERT(ID < 9, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 9, "Invalid Id"); }; }; @@ -442,21 +442,21 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 8, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 8, "Invalid Id"); }; }; @@ -473,20 +473,20 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 7, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 7, "Invalid Id"); }; }; @@ -502,19 +502,19 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 6, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 6, "Invalid Id"); }; }; @@ -529,18 +529,18 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 5, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 5, "Invalid Id"); }; }; @@ -554,17 +554,17 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 4, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 4, "Invalid Id"); }; }; @@ -577,16 +577,16 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type>::type type; - ETL_STATIC_ASSERT(ID < 3, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 3, "Invalid Id"); }; }; @@ -598,15 +598,15 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type>::type type; - ETL_STATIC_ASSERT(ID < 2, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 2, "Invalid Id"); }; }; @@ -617,14 +617,14 @@ namespace etl struct type_select { public: - template + template struct select { - typedef typename etl::conditional > ::type type; - ETL_STATIC_ASSERT(ID < 1, "Invalid ID"); + ETL_STATIC_ASSERT(Id < 1, "Invalid Id"); }; }; #endif diff --git a/include/etl/type_traits.h b/include/etl/type_traits.h index 51542a74..9546edd6 100644 --- a/include/etl/type_traits.h +++ b/include/etl/type_traits.h @@ -1572,10 +1572,10 @@ typedef integral_constant true_type; /// Requires that the class has defined 'base_type'. //*************************************************************************** // Recursive definition of the type. - template + template struct nth_base { - typedef typename nth_base::type type; + typedef typename nth_base::type type; }; template @@ -1585,8 +1585,8 @@ typedef integral_constant true_type; }; #if ETL_USING_CPP11 - template - using nth_base_t = typename nth_base::type; + template + using nth_base_t = typename nth_base::type; #endif //*************************************************************************** diff --git a/include/etl/utility.h b/include/etl/utility.h index 81c8c562..43852e72 100644 --- a/include/etl/utility.h +++ b/include/etl/utility.h @@ -156,10 +156,10 @@ namespace etl b = ETL_MOVE(temp); } - template< class T, size_t N > - ETL_CONSTEXPR14 void swap(T(&a)[N], T(&b)[N]) ETL_NOEXCEPT + template< class T, size_t Size > + ETL_CONSTEXPR14 void swap(T(&a)[Size], T(&b)[Size]) ETL_NOEXCEPT { - for (size_t i = 0UL; i < N; ++i) + for (size_t i = 0UL; i < Size; ++i) { swap(a[i], b[i]); } @@ -545,13 +545,13 @@ namespace etl namespace private_integer_sequence { - template + template struct make_index_sequence; - template - struct make_index_sequence> + template + struct make_index_sequence> { - using type = typename make_index_sequence>::type; + using type = typename make_index_sequence>::type; }; template @@ -562,8 +562,8 @@ namespace etl } //*********************************** - template - using make_index_sequence = typename private_integer_sequence::make_index_sequence>::type; + template + using make_index_sequence = typename private_integer_sequence::make_index_sequence>::type; template using make_index_sequence_for = typename private_integer_sequence::make_index_sequence>::type; @@ -634,14 +634,14 @@ namespace etl #endif //************************* - template struct in_place_index_t + template struct in_place_index_t { explicit ETL_CONSTEXPR in_place_index_t() {} }; #if ETL_USING_CPP17 - template - inline constexpr in_place_index_t in_place_index{}; + template + inline constexpr in_place_index_t in_place_index{}; #endif #if ETL_USING_CPP11 diff --git a/test/vs2022/etl.vcxproj b/test/vs2022/etl.vcxproj index 1a524c1b..9955e527 100644 --- a/test/vs2022/etl.vcxproj +++ b/test/vs2022/etl.vcxproj @@ -1403,7 +1403,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_SILENCE_ALL_CXX23_DEPRECATION_WARNINGS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_SILENCE_ALL_CXX23_DEPRECATION_WARNINGS;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1429,7 +1429,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_SILENCE_ALL_CXX23_DEPRECATION_WARNINGS;ETL_NO_STL;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_SILENCE_ALL_CXX23_DEPRECATION_WARNINGS;ETL_NO_STL;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1455,7 +1455,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_FORCE_TEST_CPP03_IMPLEMENTATION;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_FORCE_TEST_CPP03_IMPLEMENTATION;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1481,7 +1481,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_FORCE_TEST_CPP03_IMPLEMENTATION;ETL_MESSAGES_ARE_NOT_VIRTUAL;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_FORCE_TEST_CPP03_IMPLEMENTATION;ETL_MESSAGES_ARE_NOT_VIRTUAL;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1507,7 +1507,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_MESSAGES_ARE_NOT_VIRTUAL;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_MESSAGES_ARE_NOT_VIRTUAL;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1533,7 +1533,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_IMESSAGE_IS_NON_VIRTUAL;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_IMESSAGE_IS_NON_VIRTUAL;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1559,7 +1559,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1585,7 +1585,7 @@ Level3 MaxSpeed - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1611,7 +1611,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1636,7 +1636,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1661,7 +1661,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1686,7 +1686,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1711,7 +1711,7 @@ Level3 MaxSpeed - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1737,7 +1737,7 @@ Level3 MaxSpeed - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions);N = 123456789;N ../../../unittest-cpp/;../../include;../../test @@ -1948,7 +1948,7 @@ Level3 Disabled - WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions) + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING;ETL_NO_STL;ETL_FORCE_STD_INITIALIZER_LIST;%(PreprocessorDefinitions);N = 123456789;N ./;../../../unittest-cpp/;../../include;../../test