The previous post cannot be compiled,
I think it has to be the following.
typedef bool (*PF)( const pair< string , J >& );
PF p = IsOdd<string>;
PF p1 = J::IsOdd;
h2.RemoveCopyIf( h1, p );
h2.RemoveCopyIf( h1, p1 );
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 19
Thread: Compiler problem or feature?Threaded View
|
Click Here to Expand Forum to Full Width |