Original Post
Is there anyway I can do this in VC++.NET:
template <class type> bool (*isGreater) (type data1, type data2);
It is a function for a templated binary tree class. It it used to determine if a data memeber needs to go to the right or left. VC++.NET gives me the following error:
error C2998: 'bool (__cdecl *__cdecl isGreater)(<template parameter>,<template parameter>)' : cannot be a template definition
[Edit: board needs a little coaxing to show template definitions.]
[edited by - Oluseyi on April 20, 2002 11:11:23 AM]