|
Boost Users : |
From: whastingsnj (Hastings5_at_[hidden])
Date: 2002-03-28 16:44:53
Is there a way to detect that a class has been derived from
boost::addable<T>, for example? I would like to be able to
write something like this:
template <typename T>
void foo() {
//if T derived from boost::addable<T,...>
// . . .
}
The problem, of course, is the base class chaining feature.
I do not see how to use boost::is_base_and_derived in this case.
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