AllocatorAwareMixin.allocator

Get allocator

  1. Z allocator [@property setter]
  2. inout(Z) allocator [@property getter]
    mixintemplate AllocatorAwareMixin(Z)
    @property @safe nothrow inout
    inout(Z)
    allocator
    ()
    out (allocator) { static if (is(typeof(allocator) == class) || is(typeof(allocator) == interface)) { assert (!allocator.isNull, "Allocator wasn't set yet. Please provide an allocator before it is queried for usage."); } else static if (is(typeof(allocator) == RCIAllocator)) { assert (!allocator.isNull, "Expected an allocator, not null."); } }

Return Value

Type: inout(Z)

Z

Meta