
11 Apr
2012
11 Apr
'12
6:48 p.m.
On 04/09/2012 08:23 PM, Jeffrey Lee Hellrung, Jr. wrote:
c_fwd inherits from c, which is the variant<double,char*> that pops up above. So yeah, there's definitely an ambiguity there. Since boost.variant seems confused by this public inheritance, I'll try to write a wrapper instead:
class my_type { private: boost::variant<...> impl_; public: //interface of impl_ }; It's too bad C++ doesn't ease such writtings.
does that help you diagnose the problem in any way? It does. Thank you, Jeff!