Boost logo

Boost :

From: Sergei Politov (spolitov_at_[hidden])
Date: 2008-05-02 04:14:00


Hi,

I have found some differences in documentation for ptr_multimap, and its real
implementation.
In code:
        template< class U >
        iterator insert( key_type& key, std::auto_ptr<U> x )
        {
            return insert( key, x.release() );
        }

In documentation:
        template< class U >
        iterator insert( const key_type&, std::auto_ptr<U> x );

The difference is in first argument of this function.

I don't known which way is right to submit the bug report.

Could somebody please help me?

Best Regards,
  Sergei


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk