
23 Jan
2010
23 Jan
'10
8:16 a.m.
Jeffrey Hellrung wrote:
Hi all,
I'm trying to perform a compile-time check to determine if a class has an operator[]. I'm using a "trick" I think I've seen in Adobe's library and on this list in the past: In the vautl I uplaoded a macro to generate the needed meta-function for such method/operator test. Take a look at introspection.zip, especially the has_member_function.hpp file.
-- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35