Re: Challenge: adding new method overloads when existing consumers use {} with args

2022-07-25 Thread David Redondo
Am Samstag, 23. Juli 2022, 17:20:08 CEST schrieb Friedrich W. H. Kossebau: > Hi, > > (cc: kde-frameworks-devel for heads-up, please reply to kde-devel only) Sorry replied wrong first :) > given a class C with a method foo(A a): > --- 8< --- > class C > { > public: > void foo(A a); > }; > --- 8<

Re: Challenge: adding new method overloads when existing consumers use {} with args

2022-07-25 Thread David Redondo
Am Samstag, 23. Juli 2022, 17:20:08 CEST schrieb Friedrich W. H. Kossebau: > Hi, > > (cc: kde-frameworks-devel for heads-up, please reply to kde-devel only) > > given a class C with a method foo(A a): > --- 8< --- > class C > { > public: > void foo(A a); > }; > --- 8< ---

Challenge: adding new method overloads when existing consumers use {} with args

2022-07-23 Thread Friedrich W. H. Kossebau
Hi, (cc: kde-frameworks-devel for heads-up, please reply to kde-devel only) given a class C with a method foo(A a): --- 8< --- class C { public: void foo(A a); }; --- 8< --- Now you want to add an overload, to serve further use-cases as requested by API consumers: ---