https://d.puremagic.com/issues/show_bug.cgi?id=12425
Summary: allow default values for "auto ref" Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: thecybersha...@gmail.com --- Comment #0 from Vladimir Panteleev <thecybersha...@gmail.com> 2014-03-20 18:29:40 EET --- E.g.: void foo(T)(auto ref T t = 5) The parameter becomes a reference if the default expression is an lvalue (e.g. *new int(5)). -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------