
27 Feb
2008
27 Feb
'08
5:38 p.m.
Hi! I want to use a boost::function pointer to a template function. The
template type should be determinated at the time the boost::function
object is initialized. Example:
template<class T>
inline string addNumber(T inputNumber)
{
return lexical_cast<string>(inputNumber + 2);
}
template<class numType>
inline boost::function