[Bug c++/61597] Unexpected behavior at runtime
dev.kram5 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jan 19 02:23:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597
Mark <dev.kram5 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dev.kram5 at gmail dot com
--- Comment #20 from Mark <dev.kram5 at gmail dot com> ---
I know this thread is very old but I just like to add my findings.
I find out that your Memory::Array::begin, does not return the reference for
the base address of the array.
See this code revision of yours
http://coliru.stacked-crooked.com/a/c8a35765668fbca6
and look down at line 1081
I have changed it to
auto const begin = &indices[0];
More information about the Gcc-bugs
mailing list