← Back to index
|
Original Bugzilla link
Bug 4310 – variadic templates article example code uses std.stdarg incorrectly
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2010-06-14T06:31:00Z
Last change time
2015-06-09T01:27:57Z
Assigned to
nobody
Creator
hoganmeier
Comments
Comment #0
by hoganmeier — 2010-06-14T06:31:29Z
I'm not sure, but the code given at
http://digitalmars.com/d/2.0/variadic-function-templates.html
uses size_t.sizeof instead of int.sizeof
Comment #1
by clugdbug — 2012-05-22T23:59:15Z
The use of size_t is OK, but the example code should be using std.stdarg, va_arg!(arg), etc. Changing to a website bug.
Comment #2
by andy — 2015-01-25T00:57:21Z
closing: that page no longer uses size_t or std.stdarg
Comment #3
by hsteoh — 2015-01-25T15:56:56Z
Bugs that have been fixed should be marked WORKSFORME.