[Bug c++/33885] member reference to a temporary object being deleted too early

2008-01-12 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2008-01-13 02:45 --- Indeed invalid. -- bangerth at dealii dot org changed: What|Removed |Added CC|

[Bug c++/33885] member reference to a temporary object being deleted too early

2007-11-12 Thread james dot kanze at gmail dot com
--- Comment #2 from james dot kanze at gmail dot com 2007-11-12 17:56 --- (In reply to comment #0) > class A{ > // > }; > class B{ > public: > explicit B(const A& a) > : i_a(a) > { > } > ~B() > { > } > private: > const A& i_a; > }; > A returnA( const char* arg )