www.fgks.org   »   [go: up one dir, main page]

Issue 21161 - [Variadic Templates] uses outdated example from D1 / Tango
Summary: [Variadic Templates] uses outdated example from D1 / Tango
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P3 enhancement
Assignee: No Owner
URL: http://dlang.org/
Keywords: pull
Depends on:
Blocks:
 
Reported: 2020-08-14 00:57 UTC by James Blachly
Modified: 2021-05-07 16:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description James Blachly 2020-08-14 00:57:25 UTC
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 Adam D. Ruppe 2020-08-14 01:02:36 UTC
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 Dlang Bot 2021-05-06 00:39:13 UTC
@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 Dlang Bot 2021-05-07 16:42:17 UTC
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