The OpenD Programming Language

RefCounted.opIndex

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

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
)

Meta