This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.
Section: 188.8.131.52 [global.functions] Status: NAD Submitter: Morwenn Opened: 2017-02-04 Last modified: 2017-03-13
Priority: Not Prioritized
View all other issues in [global.functions].
View all issues with NAD status.
Section 184.108.40.206 [member.functions] makes it clear that standard library implementers are allowed to "replace a member function with default arguments with two or more member functions with equivalent behavior". However, it is unclear when reading 220.127.116.11 [global.functions] whether implementers are allowed to perform the same transformation for non-member functions. 18.104.22.168 [global.functions] p3 mentions that "an implementation shall not declare a non-member function signature with additional default arguments", but does not explicitly forbid to replace a function with default arguments with more functions with equivalent behavior.The standard should make it clear whether such a transformation is conforming or not, probably through a note [global.functions]. Link to the Standard Discussion forum.
We believe that [member.functions]p2 is clear.