The question is I guess, when is it an ABI break to change the signature,
For the third time in this comment thread alone: adding support for const in the template signature of function and applying the design of move_only_function would not have been a hard ABI break (implementations could easily patch this up behind the scenes).
View all comments
Show parent comment
5
u/MFHava WG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 May 20 '26
For the third time in this comment thread alone: adding support for
constin the template signature offunctionand applying the design ofmove_only_functionwould not have been a hard ABI break (implementations could easily patch this up behind the scenes).That was not the motivation for a new type...