1

Topic: invoke without involvement of a meta-compiler - till now did not enter?

Something did not find performance possibility invoke on standard syntax with ++, like QObject:: invoke (my_object, &CqMyObject::method, arg_val);

2

Re: invoke without involvement of a meta-compiler - till now did not enter?

Hello, _hum _, you wrote: __> something did not find performance possibility invoke on standard syntax with ++, like __> __> QObject:: invoke (my_object, &CqMyObject::method, arg_val); __> So in that that and its plus, it as though so to say late binding, whether you do not know there is generally such method, do not know at what ancestor it is implemented.

3

Re: invoke without involvement of a meta-compiler - till now did not enter?

Hello, Denwer, you wrote: D> Hello, _hum _, you wrote: __>> something did not find performance possibility invoke on standard syntax with ++, like __>> __>> QObject:: invoke (my_object, &CqMyObject::method, arg_val); __>> D> So in that that and its plus, it as though so to say late binding, whether you do not know there is generally such method, do not know at what ancestor it is implemented. And in same a minus - if something does not work, the compiler does not prompt you the reason. The item with. In most cases, with which I while faced, never there were necessities to use meta-pieces late

4

Re: invoke without involvement of a meta-compiler - till now did not enter?

Hello, _hum _, you wrote: __> something did not find performance possibility invoke on standard syntax with ++, like __> __> QObject:: invoke (my_object, &CqMyObject::method, arg_val); __> Through QTimer:: singleShot. Overloads There suffice. The pseudocode: QTimer:: singleShot (0, obj, [obj, Args...] () {obj-> method (Args...)); At desire, it is possible to turn in .

5

Re: invoke without involvement of a meta-compiler - till now did not enter?

Hello, SaZ, you wrote: SaZ>... Not at once understood that is necessary. std:: invoke it is simple . Not to write long . What for it is necessary to wrap separately it in Qt - a question. Result a real case where such it is necessary.

6

Re: invoke without involvement of a meta-compiler - till now did not enter?

Hello, SaZ, you wrote: SaZ> std:: invoke it is simple . Not to write long . What for it is necessary to wrap separately it in Qt - a question. Result a real case where such it is necessary. invoke in Qt it is the whole ideology, instead of it is simple  or function invocation. There all is made through types of calls, direct is perhaps idle time, but there there is an intercontinuous call, both with lock and without.

7

Re: invoke without involvement of a meta-compiler - till now did not enter?

Hello, Denwer, you wrote: D> Hello, SaZ, you wrote: SaZ>> std:: invoke it is simple . Not to write long . What for it is necessary to wrap separately it in Qt - a question. Result a real case where such it is necessary. D> invoke in Qt it is the whole ideology, instead of it is simple  or function invocation. There all is made through types of calls, direct is perhaps idle time, but there there is an intercontinuous call, both with lock and without. It is one of my favourite questions which I set on interviews. If there is a desire to dig I advise here it: https://woboq.com/blog/how-qt-signals-s … ction.html But, possessing skills of telepathy I approximately understood that that asked _hum_. He meant a method call for object depending on any data  only in . Analog std:: invoke from With ++ 17. I consider that it is simply syntactic sugar perfectly implemented by means With ++ 11/14. To me only it is not clear, and here meta-compiler Qt?

8

Re: invoke without involvement of a meta-compiler - till now did not enter?

Hello, SaZ, you wrote: SaZ> Hello, Denwer, you wrote: D>> Hello, SaZ, you wrote: SaZ>>> std:: invoke it is simple . Not to write long . What for it is necessary to wrap separately it in Qt - a question. Result a real case where such it is necessary. D>> invoke in Qt it is the whole ideology, instead of it is simple  or function invocation. There all is made through types of calls, direct is perhaps idle time, but there there is an intercontinuous call, both with lock and without. SaZ> It is one of my favourite questions which I set on interviews. If there is a desire to dig I advise here it: https://woboq.com/blog/how-qt-signals-s … ction.html SaZ> But, possessing skills of telepathy I approximately understood that that asked _hum_. He meant a method call for object depending on any data  only in . Analog std:: invoke from With ++ 17. I consider that it is simply syntactic sugar perfectly implemented by means With ++ 11/14. To me only it is not clear, and here meta-compiler Qt? No, I meant an intercontinuous call (for normal no means of the meta-compiler are necessary)