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

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: Tue May 05 07:05:28 GMT+2 2026

Total time taken to generate the page: 0.00609 seconds