www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13892] New: Erroneous information on the variadic template page


          Issue ID: 13892
           Summary: Erroneous information on the variadic template page
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: websites
          Assignee: nobody puremagic.com
          Reporter: carado savhon.org

Created attachment 1461
  --> https://issues.dlang.org/attachment.cgi?id=1461&action=edit
A working example of C++11 variadic templates

On the page http://dlang.org/variadic-function-templates.html , it is mentioned
that variadic templates are a C++ extension, and hence not a part of the

This is false as of C++11, as the attached code works pretty much exactly as
the page mentions when compiled with C++11 or C++14 support, and C++11 has been
the current version of C++ for a while now.

Thank you for your time.

Dec 25 2014