id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4108,C2139 error in VS2010,ka3a4ok@…,Peter Dimov,"VC2008 can compile this code, but VS2010 can't. Error log attached. {{{ #include #include struct NonTerminal; struct Terminal; typedef boost::variant < boost::recursive_wrapper, Terminal > AST; struct NonTerminal { public: NonTerminal(boost::shared_ptr a): m(a) { } boost::shared_ptr m; }; struct Terminal { }; void main() { } }}} ",Bugs,closed,Boost 1.43.0,smart_ptr,Boost 1.42.0,Problem,fixed,C2139 2139 VS2010,