Bug 21161 – [Variadic Templates] uses outdated example from D1 / Tango

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-08-14T00:57:25Z
Last change time
2021-05-07T16:42:17Z
Keywords
pull
Assigned to
No Owner
Creator
James Blachly

Comments

Comment #0 by james.blachly — 2020-08-14T00:57:25Z
The "Look Ma No Templates D Solution" section contains the example line: std.format.doFormat(&putc, _arguments, _argptr); This is apparently from Tango, and could benefit from removal and replacement with a contemporary example.
Comment #1 by destructionator — 2020-08-14T01:02:36Z
it isn't tango per se just old phobos. https://digitalmars.com/d/1.0/phobos/std_format.html but it is still cool to have a no-template solution just prolly needs a different example backend......
Comment #2 by dlang-bot — 2021-05-06T00:39:13Z
@maxhaton created dlang/dlang.org pull request #2998 "Fix Issue 21161 - [Variadic Templates] uses outdated example from D1" fixing this issue: - Fix Issue 21161 - [Variadic Templates] uses outdated example from D1 / Tango https://github.com/dlang/dlang.org/pull/2998
Comment #3 by dlang-bot — 2021-05-07T16:42:17Z
dlang/dlang.org pull request #2998 "Fix Issue 21161 - [Variadic Templates] uses outdated example from D1" was merged into master: - 19600f6b30071d551a35821e894dc78758c05531 by Max Haughton: Fix Issue 21161 - [Variadic Templates] uses outdated example from D1 / Tango https://github.com/dlang/dlang.org/pull/2998