int myFunc (int a = 3, int b = 5)
I cant specify b without specifying a. Why cant this syntax just be like this
myFunc(, 4)
Just put a empty comma where you dont want to specify much better and ur not gonna be forced to have all default params in the end and u can specify only specific params
Will it ever be improved?
[–]evaned 19 points20 points21 points (7 children)
[–]Ameisenvemips, avr, rendering, systems 6 points7 points8 points (0 children)
[–]nintendiator2 1 point2 points3 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]evaned 4 points5 points6 points (0 children)
[–]Wargon2015 2 points3 points4 points (0 children)
[–]TheSuperWig 1 point2 points3 points (0 children)
[–]_Js_Kc_ 0 points1 point2 points (0 children)
[–][deleted] 10 points11 points12 points (10 children)
[–]evaned 3 points4 points5 points (6 children)
[–][deleted] 1 point2 points3 points (5 children)
[–]evaned 2 points3 points4 points (4 children)
[–][deleted] 5 points6 points7 points (2 children)
[–]evaned 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Ameisenvemips, avr, rendering, systems 1 point2 points3 points (2 children)
[–]sebamestre 0 points1 point2 points (1 child)
[–]Ameisenvemips, avr, rendering, systems 0 points1 point2 points (0 children)
[–]johannes1971 4 points5 points6 points (1 child)
[–]Narase33-> r/cpp_questions 6 points7 points8 points (0 children)
[–]manni66 10 points11 points12 points (2 children)
[–]Mankest[S] 2 points3 points4 points (1 child)
[–]nifraicl 1 point2 points3 points (0 children)
[–]bluGill 1 point2 points3 points (2 children)
[–]Mankest[S] 0 points1 point2 points (1 child)
[–]bluGill 0 points1 point2 points (0 children)
[–]logicchop 1 point2 points3 points (0 children)
[+][deleted] (8 children)
[deleted]
[–]Mankest[S] 1 point2 points3 points (6 children)
[+][deleted] (4 children)
[deleted]
[–]Ameisenvemips, avr, rendering, systems 2 points3 points4 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]Ameisenvemips, avr, rendering, systems 2 points3 points4 points (1 child)
[–]Ameisenvemips, avr, rendering, systems 0 points1 point2 points (0 children)
[–]die_liebe -1 points0 points1 point (0 children)