inout after function

Dave Jones dave at jones.com
Sat Nov 25 21:51:41 UTC 2017


What does the "inout" after front() do here...


@property ref inout(T) front() inout
{
     assert(_data.refCountedStore.isInitialized);
     return _data._payload[0];
}

Cant seem to find an explanation in the docs or forums :(


More information about the Digitalmars-d-learn mailing list