Skip to content

Ensure that Portal::Set isn't defined for read-only portals.

This patch removes (or conditionally removes) the Set method from portals that are read-only so that IsWritableArrayHandle will work as expected. The ArrayPortal doxygen has been updated to reflect this.

The remaining exceptions are ArrayPortalVirtual and ArrayPortalMultiplexer, since their mutability cannot be determined at compile time.

Merge request reports