id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6848,ref doesn't work with noncopyable object,Maxim Yanchenko ,Thomas Heller,"the following code fails to compile with both boost 1.47 and 1.49 (GCC 4.4.4): {{{ #include class A { A(const A&); A& operator=(const A&); public: A() {} const A& operator<<(const char *p) const { return *this; } } g_a; int main() { ( boost::phoenix::ref(g_a) << boost::phoenix::placeholders::_1 )(""test""); } }}} error: 'A::A(const A&)' is private Btw, it also doesn't work with boost::lambda::var, in the same manner.",Bugs,closed,To Be Determined,phoenix,Boost 1.49.0,Problem,duplicate,,