https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70178
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- There is no 'restrict' keyword in ISO C++ and no equivalent language feature. I think it would be OK to use __restrict__ on the _M_dataplus._M_p member.