Created on 2010-01-24.00:00:00 last changed 172 months ago
Proposed resolution:
Add to Class template array [array]:
namespace std {
template <class T, size_t N >
struct array {
...
typedef T value_type;
typedef T * pointer;
typedef const T * const_pointer;
...
};
}
[ 2010-02-11 Moved to Tentatively Ready after 6 positive votes on c++std-lib. ]
Class <array> is the only sequence container class that has no types pointer and const_pointer defined. You might argue that this makes no sense because there is no allocator support, but on the other hand, types reference and const_reference are defined for array.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
| 2010-10-21 18:28:33 | admin | set | messages: + msg1535 |
| 2010-10-21 18:28:33 | admin | set | messages: + msg1534 |
| 2010-01-24 00:00:00 | admin | create | |