id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4174,Patch to fix auto_ptr usage errors in ptr_container tests,Douglas Gregor,Thorsten Ottosen,"At several places in the ptr_container tests, we have the following pattern: void f(const std::auto_ptr &); void g() { f(std::auto_ptr(new int(5))); } This is code is ill-formed in C++98/03, because the compiler is required to check there there exits a copy constructor that would be able to make a copy of the auto_ptr before binding it to a reference, even if that copy won't actually be made. Not all compilers diagnose this error, but Clang and EDG in strict mode do diagnose the problem. The attached patch fixes the issue.",Patches,closed,Boost 1.43.0,ptr_container,Boost Development Trunk,Problem,fixed,,