mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Make binary functor operator() const
This commit is contained in:
parent
9bf8da3d26
commit
ce7ce3bb72
@ -2286,7 +2286,7 @@ namespace etl
|
||||
//***********************************
|
||||
ETL_NODISCARD
|
||||
ETL_CONSTEXPR
|
||||
T operator ()(T value) ETL_NOEXCEPT
|
||||
T operator ()(T value) const ETL_NOEXCEPT
|
||||
{
|
||||
ETL_STATIC_ASSERT(etl::is_integral<T>::value, "Not an integral type");
|
||||
|
||||
@ -2311,7 +2311,7 @@ namespace etl
|
||||
//***********************************
|
||||
ETL_NODISCARD
|
||||
ETL_CONSTEXPR
|
||||
T operator ()(T value) ETL_NOEXCEPT
|
||||
T operator ()(T value) const ETL_NOEXCEPT
|
||||
{
|
||||
ETL_STATIC_ASSERT(etl::is_integral<T>::value, "Not an integral type");
|
||||
|
||||
@ -2340,7 +2340,7 @@ namespace etl
|
||||
//***********************************
|
||||
ETL_NODISCARD
|
||||
ETL_CONSTEXPR
|
||||
T operator ()(T value) ETL_NOEXCEPT
|
||||
T operator ()(T value) const ETL_NOEXCEPT
|
||||
{
|
||||
ETL_STATIC_ASSERT(etl::is_integral<T>::value, "Not an integral type");
|
||||
|
||||
@ -2369,7 +2369,7 @@ namespace etl
|
||||
//***********************************
|
||||
ETL_NODISCARD
|
||||
ETL_CONSTEXPR
|
||||
T operator ()(T value) ETL_NOEXCEPT
|
||||
T operator ()(T value) const ETL_NOEXCEPT
|
||||
{
|
||||
ETL_STATIC_ASSERT(etl::is_integral<T>::value, "Not an integral type");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user