commit | a276cb01bef3c950e142838d0db61d6a6e460117 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Sun Aug 23 02:34:18 2015 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Sun Aug 23 02:34:18 2015 +0000 |
tree | ab1332f940c6950d766653f4c2c9886e3167b92a | |
parent | a73d0926fc08445e9c04fa3670ec8ba5f09bd089 [diff] |
Cleanup fancy pointer rebinding in list using __rebind_pointer. Currently we need an #ifdef branch every time we use pointer traits to rebind a pointer because it is done differently in C++11 and C++03. This patch introduces the __rebind_pointer utility to clean this up. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@245802 91177308-0d34-0410-b5e6-96231b3b80d8