Opened 13 years ago

Last modified 12 years ago

#3483 assigned Feature Requests

non-null requirement in ptr_vector::transfer

Reported by: Igor Pavlov <arabesc@…> Owned by: Thorsten Ottosen
Milestone: Component: ptr_container
Version: Boost 1.40.0 Severity: Problem
Keywords: Cc:

Description

http://www.boost.org/doc/libs/1_40_0/libs/ptr_container/doc/ptr_vector.html#c-array-support

is it possible to remove non-null requirement for from argument in ptr_vector::transfer method?

Change History (1)

comment:1 by Thorsten Ottosen, 12 years ago

Status: newassigned

It should be possible. We simply need to add

if( !from )

return;

But we also need an update to the documentation. If you can provide both patches, I'd be happy to apply them.

-Thorsten

Note: See TracTickets for help on using tickets.