$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] result_of overloaded member function?
From: Arno Schödl (aschoedl_at_[hidden])
Date: 2011-05-04 10:02:01
Hello,
is there a way to get the result type of an overloaded member function? Something like:
template< class T, class A >
typename boost::result_of< T::func(A) >::type invoke( T& t, A& a ) {
return t.func(a);
}
Thanks for help,
Arno
-- Dr. Arno Schödl | aschoedl_at_[hidden] Technical Director think-cell Software GmbH | Chausseestr. 8/E | 10115 Berlin | Germany http://www.think-cell.com | phone +49 30 666473-10 | US phone +1 800 891 8091 Amtsgericht Berlin-Charlottenburg, HRB 85229 | European Union VAT Id DE813474306 Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl