Boost logo

Boost Users :

From: Cromwell Enage (sponage_at_[hidden])
Date: 2007-02-28 15:05:00


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


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