Boost logo

Boost Users :

Subject: Re: [Boost-users] compile-time check that a member function exists
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2009-03-25 14:36:15

Igor R a écrit :
> Well, meanwhile, as least in MSVC one can use __if_exists() :)
I just discovered this monster :s Does it work like a type-based #ifdef
or what ? Looks fugly to me :/

This whole check-for-a-method process is rather unclear for me. Lots of
problem arise with private/protected method/member, and testign for free
functions taking type X as a parameters is as ugly too.

Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at