U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » I request the implementation of callback5
Re: I request the implementation of callback5 [message #49816 is a reply to message #49815] Wed, 09 May 2018 23:00 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1273
Registered: August 2007
Senior Contributor
Quote:
Hi,
I request the implementation of callback5.
Can you implement it?

Regards
A.


Hello Aftershock,

Callback is depreceated. Is there any reason for not using Function, Event, or Gate (the latter two are actually aliases for Function templates with specific return types (void and bool)) that can take any number of arguments? They are compatible with Callback, and superior.

E.g.
Event<int, int, int, int, int>       event; // returns void;
Gate<int, int, int, int, int>        gate;  // returns bool;
Function<T(int, int, int, int, int)> func;  // returns type T;



Best regards,
Oblivion


[Updated on: Wed, 09 May 2018 23:10]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: design flaw in scatterctrl?
Next Topic: How can I turn off soring in ArrayCtrl?
Goto Forum:
  


Current Time: Sat Jul 25 10:55:54 GMT+2 2026

Total time taken to generate the page: 0.01010 seconds