mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Removed non-const operators from const_iterator
This commit is contained in:
parent
0aad135c3f
commit
eae01129b4
@ -238,31 +238,16 @@ namespace etl
|
||||
return temp;
|
||||
}
|
||||
|
||||
reference operator *()
|
||||
{
|
||||
return *(*ilookup);
|
||||
}
|
||||
|
||||
const_reference operator *() const
|
||||
{
|
||||
return *(*ilookup);
|
||||
}
|
||||
|
||||
pointer operator &()
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
}
|
||||
|
||||
const_pointer operator &() const
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
}
|
||||
|
||||
pointer operator ->()
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
}
|
||||
|
||||
const_pointer operator ->() const
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
|
||||
@ -237,31 +237,16 @@ namespace etl
|
||||
return temp;
|
||||
}
|
||||
|
||||
reference operator *()
|
||||
{
|
||||
return *(*ilookup);
|
||||
}
|
||||
|
||||
const_reference operator *() const
|
||||
{
|
||||
return *(*ilookup);
|
||||
}
|
||||
|
||||
pointer operator &()
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
}
|
||||
|
||||
const_pointer operator &() const
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
}
|
||||
|
||||
pointer operator ->()
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
}
|
||||
|
||||
const_pointer operator ->() const
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
|
||||
@ -236,31 +236,16 @@ namespace etl
|
||||
return temp;
|
||||
}
|
||||
|
||||
reference operator *()
|
||||
{
|
||||
return *(*ilookup);
|
||||
}
|
||||
|
||||
const_reference operator *() const
|
||||
{
|
||||
return *(*ilookup);
|
||||
}
|
||||
|
||||
pointer operator &()
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
}
|
||||
|
||||
const_pointer operator &() const
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
}
|
||||
|
||||
pointer operator ->()
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
}
|
||||
|
||||
const_pointer operator ->() const
|
||||
{
|
||||
return etl::addressof(*(*ilookup));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user