
28 Feb
2007
28 Feb
'07
8:05 p.m.
Assuming a compiler supports is_function, will this metafunction check for the presence of member functions in a class? For example: struct Foo { void bar(); }; struct Baz { }; Given the right template argument, will is_function detect the bar() function in Foo but return false_ for Baz? If so, what is the right template argument? If not, are there any known workarounds? Cromwell D. Enage ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097