$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [result_of]
From: er (erwann.rogard_at_[hidden])
Date: 2009-10-12 21:28:14
Hi All,
I've noticed that if do,
class A: F{
template<typename S>
struct result{};
template<typename A1,typename X>
struct result<A1(X)>{
typedef ... type;
};
};
result_of<A(X)>::type
tries to deduce the result type from F (not accessible because private),
so I'm left with having to keep F in a variable:
class A{
// ...
private:
F f;
};
Any suggestion for keeping F as a private base?