Using c++98, (gcc 4.1.2), how I am supposed to achieve this?
template<typename T>
typedef T(*TRANSFORM)(const T&);
list<T> collect (const list<T>& list, TRANSFORM f)
{
}
Using c++98, (gcc 4.1.2), how I am supposed to achieve this?
template<typename T>
typedef T(*TRANSFORM)(const T&);
list<T> collect (const list<T>& list, TRANSFORM f)
{
}