Jump to content
  • Advertisement
Sign in to follow this  

Passing boost::ptr_vector

This topic is 3716 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!