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 hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net