In the Boost sandbox CVS, I added to the memory library auto_temp_buf, a variant of std::auto_ptr based on the rarely used standard temporary buffer functions. It's in the following files

        ROOT/boost/memory_fwd.hpp [changed]
        ROOT/boost/memory/auto_temp_buf.hpp
        ROOT/boost/libs/memory/doc/auto_temp_buf.html
        ROOT/boost/libs/memory/example/auto_temp_buf_example.cpp

Comments?

I have it working on my CodeWarrior installation. It was working on my GCC installation until I put the definitions of the conversion operators outside the class definition; I think it's mis-parsing the "safe_bool" definition as a member-function, not a data-member. (I just updated my Project Builder with the Dec 2002 and Jun 2003 updates, but I have the GCC 3.3 stuff turned off, so it's GCC 3.1.)

Daryle

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to