Source
- URL: https://x.com/EricLengyel/status/1202423515661529089
- Author: Eric Lengyel (@EricLengyel)
- Posted: 2019-12-05 03:04:40
Thread
1/ @EricLengyel
I have written a draft proposal for a “disjoint” qualifier in C++. I’ve been thinking about this for a long time as an alternative to attempting to bring “restrict” from C to C++, which has many problems that I believe can’t be solved. Comments, please.
http://terathon.com/disjoint_lengyel.pdf
2/ @EricLengyel
I am aware that many compilers currently provide support for restrict in C++. It’s an ugly hack. I’m trying to formulate something that fits into C++ elegantly.