
22 Jul
2008
22 Jul
'08
5:56 p.m.
Hi,
I'm pretty new to boost. I want to write some code with a compile-time
check whether a member function exists or not. The code below shows
kinda what I need except I'd obviously like to avoid a specialized
template for each class that I use.
Can anybody point me in the right direction?
Thanks,
John
****************************************
#include <iostream>
using namespace std;
struct WithMemberGo
{
void Go() const {cout<<__PRETTY_FUNCTION__<<" going...."<