Created on 2011-05-27.00:00:00 last changed 172 months ago
Proposed resolution:
This wording is relative to the FDIS.
Modify the synopsis in [unique.ptr.runtime]:
namespace std {
template <class T, class D> class unique_ptr<T[], D> {
public:
typedef see below pointer;
typedef T element_type;
typedef D deleter_type;
// 20.7.1.3.1, constructors
constexpr unique_ptr() noexcept;
[…]
constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { }
[…]
};
}
[ Bloomington, 2011 ]
Closed as NAD Editorial.
The synopsis in [unique.ptr.single] specifies:
constexpr unique_ptr(nullptr_t) noexcept
which looks correct to me. However the corresponding constructor in [unique.ptr.runtime] is missing noexcept:
constexpr unique_ptr(nullptr_t) : unique_ptr() { }
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-08-16 10:45:53 | admin | set | messages: + msg5840 |
| 2011-08-16 10:45:53 | admin | set | status: new -> nad editorial |
| 2011-05-27 22:53:47 | admin | set | messages: + msg5794 |
| 2011-05-27 00:00:00 | admin | create | |