#1452 closed Bugs (fixed)
std::auto_ptr not included in headers for assign - ptr_list_of
Reported by: | Owned by: | Thorsten Ottosen | |
---|---|---|---|
Milestone: | Boost 1.35.0 | Component: | ptr_container |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
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 , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 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.
I just discovered that I don't include <memory> in the pointer containers, which is a big mistake.
Thanks