The OpenD Programming Language

SharedRegion.this

Constructs a region backed by a user-provided store. Assumes the memory was allocated with ParentAllocator.

  1. this(ubyte[] store)
  2. this(size_t n)
    struct SharedRegion(ParentAllocator, uint minAlign = platformAlignment, Flag!"growDownwards" growDownwards = No.growDownwards)
    this
    (
    size_t n
    )

Parameters

n size_t

Bytes to allocate using ParentAllocator. If parent.allocate(n) returns null, the region will be initialized as empty (correctly initialized but unable to allocate).

Meta