Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 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


[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 Apr 26 09:56:41 CEST 2025

Total time taken to generate the page: 0.01021 seconds