mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-29 22:08:45 +08:00
Merge remote-tracking branch 'origin/master' into development
This commit is contained in:
commit
c26b94867f
@ -499,7 +499,7 @@ namespace etl
|
||||
//*********************************************************************
|
||||
size_t count(key_parameter_t key) const
|
||||
{
|
||||
return refmap_t::count(key);;
|
||||
return refmap_t::count(key);
|
||||
}
|
||||
|
||||
//*********************************************************************
|
||||
|
||||
@ -248,7 +248,7 @@ namespace etl
|
||||
//*************************************************************************
|
||||
bool is_trivial_list() const
|
||||
{
|
||||
return (start_link.link_type::etl_next == nullptr) || (start_link.link_type::etl_next->etl_next == nullptr);;
|
||||
return (start_link.link_type::etl_next == nullptr) || (start_link.link_type::etl_next->etl_next == nullptr);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
@ -598,7 +598,7 @@ namespace etl
|
||||
//*************************************************************************
|
||||
const_reference front() const
|
||||
{
|
||||
return static_cast<const value_type&>(*(this->get_head()));;
|
||||
return static_cast<const value_type&>(*(this->get_head()));
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
|
||||
@ -667,7 +667,7 @@ namespace etl
|
||||
//*************************************************************************
|
||||
const_reference front() const
|
||||
{
|
||||
return *static_cast<const value_type*>(this->get_head());;
|
||||
return *static_cast<const value_type*>(this->get_head());
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
@ -683,7 +683,7 @@ namespace etl
|
||||
//*************************************************************************
|
||||
const_reference back() const
|
||||
{
|
||||
return *static_cast<const value_type*>(this->get_tail());;
|
||||
return *static_cast<const value_type*>(this->get_tail());
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
|
||||
@ -308,7 +308,7 @@ namespace etl
|
||||
value = p_buffer[read_index];
|
||||
p_buffer[read_index].~T();
|
||||
|
||||
read_index = get_next_index(read_index, MAX_SIZE);;
|
||||
read_index = get_next_index(read_index, MAX_SIZE);
|
||||
|
||||
--current_size;
|
||||
|
||||
|
||||
@ -193,7 +193,7 @@ namespace etl
|
||||
value = p_buffer[read_index];
|
||||
p_buffer[read_index].~T();
|
||||
|
||||
read_index = get_next_index(read_index, MAX_SIZE);;
|
||||
read_index = get_next_index(read_index, MAX_SIZE);
|
||||
|
||||
--current_size;
|
||||
|
||||
|
||||
@ -548,7 +548,7 @@ namespace etl
|
||||
//*********************************************************************
|
||||
void erase(iterator first, iterator last)
|
||||
{
|
||||
lookup.erase(first.ilookup, last.ilookup);;
|
||||
lookup.erase(first.ilookup, last.ilookup);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
|
||||
@ -528,7 +528,7 @@ namespace etl
|
||||
//*********************************************************************
|
||||
void erase(iterator first, iterator last)
|
||||
{
|
||||
lookup.erase(first.ilookup, last.ilookup);;
|
||||
lookup.erase(first.ilookup, last.ilookup);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
|
||||
@ -121,7 +121,7 @@ SOFTWARE.
|
||||
|
||||
template <typename T> const bool etl_integral_type<T>::is_specialized = true;
|
||||
template <typename T> const int etl_integral_type<T>::digits = (CHAR_BIT * sizeof(T)) - (etl::is_signed<T>::value ? 1 : 0);
|
||||
template <typename T> const int etl_integral_type<T>::digits10 = ETL_LOG2(digits);;
|
||||
template <typename T> const int etl_integral_type<T>::digits10 = ETL_LOG2(digits);
|
||||
template <typename T> const int etl_integral_type<T>::max_digits10 = 0;
|
||||
template <typename T> const bool etl_integral_type<T>::is_signed = etl::is_signed<T>::value;
|
||||
template <typename T> const bool etl_integral_type<T>::is_integer = true;
|
||||
|
||||
@ -630,17 +630,17 @@ namespace etl
|
||||
|
||||
size_type find_last_of(T c, size_type position = npos) const
|
||||
{
|
||||
return find_last_of(etl::basic_string_view<T, TTraits>(&c, 1), position);;
|
||||
return find_last_of(etl::basic_string_view<T, TTraits>(&c, 1), position);
|
||||
}
|
||||
|
||||
size_type find_last_of(const T* text, size_type position, size_type count) const
|
||||
{
|
||||
return find_last_of(etl::basic_string_view<T, TTraits>(text, count), position);;
|
||||
return find_last_of(etl::basic_string_view<T, TTraits>(text, count), position);
|
||||
}
|
||||
|
||||
size_type find_last_of(const T* text, size_type position = npos) const
|
||||
{
|
||||
return find_last_of(etl::basic_string_view<T, TTraits>(text), position);;
|
||||
return find_last_of(etl::basic_string_view<T, TTraits>(text), position);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
@ -733,17 +733,17 @@ namespace etl
|
||||
|
||||
size_type find_last_not_of(T c, size_type position = npos) const
|
||||
{
|
||||
return find_last_not_of(etl::basic_string_view<T, TTraits>(&c, 1), position);;
|
||||
return find_last_not_of(etl::basic_string_view<T, TTraits>(&c, 1), position);
|
||||
}
|
||||
|
||||
size_type find_last_not_of(const T* text, size_type position, size_type count) const
|
||||
{
|
||||
return find_last_not_of(etl::basic_string_view<T, TTraits>(text, count), position);;
|
||||
return find_last_not_of(etl::basic_string_view<T, TTraits>(text, count), position);
|
||||
}
|
||||
|
||||
size_type find_last_not_of(const T* text, size_type position = npos) const
|
||||
{
|
||||
return find_last_not_of(etl::basic_string_view<T, TTraits>(text), position);;
|
||||
return find_last_not_of(etl::basic_string_view<T, TTraits>(text), position);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user