This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 22.214.171.124 [allocator.members] Status: CD1 Submitter: Markus Mauhart Opened: 2003-02-27 Last modified: 2016-02-10
Priority: Not Prioritized
View other active issues in [allocator.members].
View all other issues in [allocator.members].
View all issues with CD1 status.
126.96.36.199 [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*.
Replace "((T*) p)" with "p".
Just a typo, this is really editorial.