Does C++11 add the C99 restrict specifier? If not, why not?

The only mention of restrict in the C++11 FDIS is on §17.2 [library.c]:

The descriptions of many library functions rely on the C standard library for the signatures and semantics
of those functions. In all such cases, any use of the restrict qualifier shall be omitted.

So restrict is not in C++11.

Leave a Comment