Sign in to follow this  

Passing boost::ptr_vector

Recommended Posts

I have a function that takes boost::ptr_vector as a parameter but everytime I try and pass a boost::ptr_vector into it I get this error: boost\boost_1_34_1\boost/ptr_container/ptr_sequence_adapter.hpp(600) : error C2248: 'boost::ptr_container_detail::reversible_ptr_container<Config,CloneAllocator>::reversible_ptr_container' : cannot access private member declared in class 'boost::ptr_container_detail::reversible_ptr_container<Config,CloneAllocator>' None of the examples seem to show you how to do this.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this