C++ Logo


Advanced search

RFC: disjoint qualifier

From: Eric Lengyel <lengyel_at_[hidden]>
Date: Thu, 17 Sep 2020 18:37:32 -0700
Standard C++ does not include the "restrict" qualifier from C, and many
serious problems arise when attempting to properly incorporate it into the
C++ language. The following proposal introduces a superior alternative in
the form of a "disjoint" qualifier that functions differently in several
important ways. The disjoint qualifier is a clean and natural fit within the
established design of the C++ language, and it adds type-safe aliasing
controls in a backward-compatible manner.




Please discuss.


-- Eric Lengyel


Received on 2020-09-17 20:37:43