be more explicit in return type of at_aux, for intel 19

This commit is contained in:
Alfredo Correa 2022-10-05 03:00:52 -04:00
parent 2a72d49140
commit 1a288198be
1 changed files with 1 additions and 1 deletions

View File

@ -824,7 +824,7 @@ struct basic_array
using typename types::const_reference;
private:
HD constexpr auto at_aux(index idx) const { // MULTI_ACCESS_ASSERT(this->extension().contains(i)&&"out of bounds");
HD constexpr auto at_aux(index idx) const -> reference { // MULTI_ACCESS_ASSERT(this->extension().contains(i)&&"out of bounds");
return reference{
this->layout().sub(),
this->base() + (idx*this->layout().stride() - this->layout().offset())