Feature Request List /
Default Arguments
Difference (previous author) (Change, Edit, normal page display)
Changed: 1c1,3
Many people have suggested including default arguments. This list contains some of the requests and some of Walter's responses. If one was missed, feel free to add it. |
Default arguments to function parameters were added to D in DMD 0.92: "Semantics are like C++." Many people have suggested including default arguments. This list contains some of the requests and some of Walter's responses. |
Changed: 4,6c6,8
* Implemented in DMD 0.92 * http://www.digitalmars.com/drn-bin/wwwnews?D/19377 * http://www.digitalmars.com/drn-bin/wwwnews?D/294 |
* Implemented in DMD 0.92 * NG:D/19377 * NG:D/294 |
Changed: 9,14c11,16
* 20 Aug 2001, http://www.digitalmars.com/drn-bin/wwwnews?D/528 * 25 Aug 2001, http://www.digitalmars.com/drn-bin/wwwnews?D/883 * 23 Oct 2001, http://www.digitalmars.com/drn-bin/wwwnews?D/1662 * 23 Oct 2001, http://www.digitalmars.com/drn-bin/wwwnews?D/1663 * 31 Dec 2001, http://www.digitalmars.com/drn-bin/wwwnews?D/2476 * 31 Dec 2001, http://www.digitalmars.com/drn-bin/wwwnews?D/2478 |
* 20 Aug 2001, NG:D/528 * 25 Aug 2001, NG:D/883 * 23 Oct 2001, NG:D/1662 * 23 Oct 2001, NG:D/1663 * 31 Dec 2001, NG:D/2476 * 31 Dec 2001, NG:D/2478 |
Changed: 16,17c18,19
* 21 Nov 2003, http://www.digitalmars.com/drn-bin/wwwnews?D/19377 * 22 Nov 2003, http://www.digitalmars.com/drn-bin/wwwnews?D/19378 |
* 21 Nov 2003, NG:D/19377 * 22 Nov 2003, NG:D/19378 |
Changed: 19,20c21,22
* 05 Feb 2004, http://www.digitalmars.com/drn-bin/wwwnews?D/23279 * 21 Mar 2004, http://www.digitalmars.com/drn-bin/wwwnews?D/26101 |
* 05 Feb 2004, NG:D/23279 * 21 Mar 2004, NG:D/26101 |
Changed: 23,27c25,29
* NG:D/1114 * NG:D/439 * NG:D/2474 * NG:D/2477 * NG:D/2479 |
Changed: 30c32
* http://www.digitalmars.com/drn-bin/wwwnews?D/19439 |
* NG:D/19439 |
Default arguments to function parameters were added to D in DMD 0.92: "Semantics are like C++."
Many people have suggested including default arguments. This list contains some of the requests and some of Walter's responses.
General
- Implemented in DMD 0.92
- NG:D/19377
- NG:D/294
Proponents
- 20 Aug 2001, NG:D/528
- 25 Aug 2001, NG:D/883
- 23 Oct 2001, NG:D/1662
- 23 Oct 2001, NG:D/1663
- 31 Dec 2001, NG:D/2476
- 31 Dec 2001, NG:D/2478
- 21 Nov 2003, NG:D/19377
- 22 Nov 2003, NG:D/19378
- 05 Feb 2004, NG:D/23279
- 21 Mar 2004, NG:D/26101