mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Fix missing partial specialisation equal operators (#927)
This commit is contained in:
parent
324f5ebea9
commit
083bafa3ce
@ -1166,6 +1166,22 @@ bool operator !=(const etl::expected<TValue, TError>& lhs, const etl::unexpected
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
//*******************************************
|
||||
template <typename TError, typename TError2>
|
||||
ETL_CONSTEXPR14
|
||||
bool operator !=(const etl::expected<void, TError>& lhs, const etl::expected<void, TError2>& rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
//*******************************************
|
||||
template <typename TError, typename TError2>
|
||||
ETL_CONSTEXPR14
|
||||
bool operator !=(const etl::expected<void, TError>& lhs, const etl::unexpected<TError2>& rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
//*******************************************
|
||||
template <typename TError, typename TError2>
|
||||
ETL_CONSTEXPR14
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user