Files

37 lines
1.1 KiB
Markdown

---
title: "I have written a draft proposal for a \"disjoint\" qualifier in C++."
type: archive
source: twitter
source_url: "https://x.com/EricLengyel/status/1202423515661529089"
author: "Eric Lengyel"
handle: EricLengyel
post_id: "1202423515661529089"
date: 2019-12-05
archived: 2026-08-27
draft: false
tags:
- archive
- twitter
- EricLengyel
description: "I have written a draft proposal for a \"disjoint\" qualifier in C++."
in_reply_to: ""
---
## Source
- URL: https://x.com/EricLengyel/status/1202423515661529089
- Author: Eric Lengyel (@EricLengyel)
- Posted: 2019-12-05 03:04:40
## Thread
**1/** **@EricLengyel** ^1202423515661529089
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** ^1202423516886224901
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.