[ptr_container] "Cannot access private member..." compile error

Seeking ptr_container guru,
My first usage of ptr_container, and I fear I'm missing something
obvious. I keep getting the following compile error:
--------------------------------------------
Z:\Tools\boost\boost_1_34_0\boost/ptr_container/detail/associative_ptr_container.hpp(202)
: error C2248: 'boost::ptr_container_detail::reversible_ptr_container

Sorry, I forgot to add I'm using the prebuilt 1.34 libraries provided by Boost Consulting.

Nevermind. I finally figured out the error message to mean that the compiler-generated copy-constructor was being called somewhere. I determined that elsewhere, I was storing my set_ptr in an STL container--which, of course, is verboten.

Dan Thill skrev:
Nevermind. I finally figured out the error message to mean that the compiler-generated copy-constructor was being called somewhere. I determined that elsewhere, I was storing my set_ptr in an STL container--which, of course, is verboten.
That change in a newer version, FWIW. -Thorsten
participants (2)
-
Dan Thill
-
Thorsten Ottosen