
Hi All,
I've noticed that if do,
class A: F{
template<typename S>
struct result{};
template

Hi All,
I rephrase here a question to a previous post:
If G derives privately from F,
and F::result_type is defined,
but I provide, say, G::result

er wrote:
If G derives privately from F, and F::result_type is defined, but I provide, say, G::result
, boost::result_of
::type attempts to access the private F::result_type, instead of G::result ::type. I guess, if I really want to keep F a private base, I could wrap it in a class, W<F>, that does not expose result_type, yet I'm hoping someone might have a better idea.
The only solution I can think of is to (partially) specialize
boost::result_of directly, as below ...
#include
participants (2)
-
er
-
Eric Niebler