Created on 2003-02-27.00:00:00 last changed 172 months ago
Rationale:
Just a typo, this is really editorial.
Proposed resolution:
Replace "((T*) p)" with "p".
[allocator.members] allocator members, contains the following 3 lines:
12 Returns: new((void *) p) T( val) void destroy(pointer p); 13 Returns: ((T*) p)->~T()
The type cast "(T*) p" in the last line is redundant cause we know that std::allocator<T>::pointer is a typedef for T*.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg2491 |
2010-10-21 18:28:33 | admin | set | messages: + msg2490 |
2003-02-27 00:00:00 | admin | create |