RefCounted.opIndex

Prevent opSlice and opIndex from being hidden by Impl*. This comment is deliberately not DDOC.

  1. auto ref opSlice(A args)
  2. auto ref opIndex(A args)
    struct RefCounted(RefCountedType, Allocator = typeof(theAllocator), Flag!"supportGC" supportGC = gcExists ? Flag!"supportGC".yes : Flag!"supportGC".no)
    ref
    opIndex
    (
    A...
    )
    (
    auto ref A args
    )
    if (
    __traits(compiles, Type.init.opIndex(args))
    )
    if (
    isAllocator!Allocator
    )
  3. auto ref opIndexAssign(A args)

Meta