Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#1452 closed Bugs (fixed)

std::auto_ptr not included in headers for assign - ptr_list_of

Reported by: John Pavel <jrp@…> Owned by: Thorsten Ottosen
Milestone: Boost 1.35.0 Component: ptr_container
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

See http://beta.boost.org/development/tests/trunk/developer/output/jrp-gcc4-3-0-boost-bin-v2-libs-assign-test-ptr_list_of-test-gcc-4-3-0-debug.html

I suspect that you need a #include <memory> somewhere to pull in std::auto_ptr, or perhaps we need to set _GLIBCXX_DEPRECATED.

Change History (3)

comment:1 by Thorsten Ottosen, 15 years ago

Resolution: fixed
Status: newclosed

I just discovered that I don't include <memory> in the pointer containers, which is a big mistake.

Thanks

comment:2 by Beman Dawes, 14 years ago

(In [52383]) Filesystem: fix #1452

comment:3 by anonymous, 14 years ago

I don't understand what the problem is. ptr_list_of.hpp includes boost::ptr_vector which includes <memory> in reversible_ptr_container.hpp.

-Thorsten

Note: See TracTickets for help on using tickets.