Skip to content

Commit

Permalink
Added ETL_CONSTEXPR14 to etl::reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wellbelove committed Aug 10, 2024
1 parent af03b44 commit e6653d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/etl/algorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ namespace etl
//***************************************************************************
// Pointers
template <typename TIterator>
ETL_CONSTEXPR14
typename etl::enable_if<etl::is_pointer<TIterator>::value, void>::type
reverse(TIterator b, TIterator e)
{
Expand All @@ -357,6 +358,7 @@ namespace etl

// Non-pointers
template <typename TIterator>
ETL_CONSTEXPR14
typename etl::enable_if<!etl::is_pointer<TIterator>::value, void>::type
reverse(TIterator b, TIterator e)
{
Expand Down

0 comments on commit e6653d3

Please sign in to comment.