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   |
Oblivion
Messages: 1202 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
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Wed, 09 May 2018 23:10] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 09:56:41 CEST 2025
Total time taken to generate the page: 0.01021 seconds
|