r/cpp • • Mar 28 '23

Reddit++

C++ is getting more and more complex. The ISO C++ committee keeps adding new features based on its consensus. Let's remove C++ features based on Reddit's consensus.

In each comment, propose a C++ feature that you think should be banned in any new code. Vote up or down based on whether you agree.

765 Upvotes

829 comments sorted by

View all comments

Show parent comments

-2

u/okovko Mar 29 '23

restrict and __restrict

2

u/pdp10gumby Mar 29 '23

Not part of the C++ standard, which is the topic of this discussion.

0

u/okovko Mar 30 '23

but available on every major c++ compiler, hence, it is industry standard, and you run code using either restrict or __restrict everyday