Created on 2010-08-25.00:00:00 last changed 172 months ago
Proposed resolution:
In [allocator.requirements] Table 42 - Allocotor Requirements, Add a row (after value_type) with columns:
Expression: X::reference_type
Return type: T&
Assertion/note...: (empty)
Default: T&
[allocator.traits]:
namespace std { template <class Alloc> struct allocator_traits { typedef Alloc allocator_type; typedef typename Alloc::value_type value_type; typedef see below pointer; typedef see below const_pointer; typedef see below void_pointer; typedef see below const_void_pointer; typedef value_type& reference_type;
Add reference_type to allocator_traits template, defaulted to value_type&.
Duplicate: 1318
Addresses US-87
reference_type should not have been removed from the allocator requirements. Even if it is always the same as value_type&, it is an important customization point for extensions and future features.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-25 13:05:58 | admin | set | status: open -> dup |
2010-10-24 03:04:13 | admin | set | messages: + msg4903 |
2010-08-25 00:00:00 | admin | create |