Title
Missing unique_ptr signatures in synopsis
Status
nad editorial
Section
[memory]
Submitter
Daniel Krügler

Created on 2009-10-11.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Add in [memory], Header <memory> synopsis missing declarations as shown below:

// 20.8.11 Class unique_ptr:
template <class X> class default_delete;
template<class T> struct default_delete<T[]>;
template <class X, class D = default_delete<T>> class unique_ptr;
template<class T, class D> class unique_ptr<T[], D>;

template<class T, class D> void swap(unique_ptr<T, D>& x, unique_ptr<T, D>& y);

template<class T1, class D1, class T2, class D2>
bool operator==(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y);
template<class T1, class D1, class T2, class D2>
bool operator!=(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y);
template<class T1, class D1, class T2, class D2>
bool operator<(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y);
template<class T1, class D1, class T2, class D2>
bool operator<=(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y);
template<class T1, class D1, class T2, class D2>
bool operator>(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y);
template<class T1, class D1, class T2, class D2>
bool operator>=(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y);
Date: 2009-11-04.00:00:00

[ 2009-11-04 Howard adds: ]

Moved to Tentatively NAD Editorial. The editor has adopted the fix.

Date: 2009-10-11.00:00:00

Related to 296. Some unique_ptr signatures are missing from the synopsis in [memory].

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg1255
2010-10-21 18:28:33adminsetmessages: + msg1254
2009-10-11 00:00:00admincreate