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++ Callbacks and Timers » FIX: Callback / Tuple
FIX: Callback / Tuple [message #30085] Tue, 07 December 2010 16:04
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
hi all

i suppose this is a remanent from testing phase..
arg = arg_;

Callback.h:33

	CallbackMethodActionArg(OBJECT_ *object, METHOD_ method, T arg_)
	: object(object), method(method) { arg = arg_; }


it makes usage of Tuple<> as arguments impossible..

please change to
	CallbackMethodActionArg(OBJECT_ *object, METHOD_ method, T arg)
	: object(object), method(method), arg(arg) {}


all the other analogons are implemented right, only this one is like this..

[Updated on: Tue, 07 December 2010 16:36]

Report message to a moderator

Previous Topic: Callbacks with 'Disable' feature
Next Topic: notes about callback
Goto Forum:
  


Current Time: Thu Mar 28 14:32:54 CET 2024

Total time taken to generate the page: 0.01469 seconds