what means... auto ref Args args?

Dave Jones dave at jones.com
Wed Oct 18 21:43:05 UTC 2017


On Wednesday, 18 October 2017 at 21:38:41 UTC, Dave Jones wrote:
> Poking around in the source code for emplace and I noticed...
>
> T* emplace(T, Args...)(T* chunk, auto ref Args args)
>
> what does the "auto ref" do in this situiation? Cant seem to 
> find any explanation in the docs.

sorry meant to put this in learn


More information about the Digitalmars-d mailing list