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. Also add a test that list and it's iterators can be instantiated with incomplete element types. llvm-svn: 245806 |
||
|---|---|---|
| .. | ||
| list.capacity | ||
| list.cons | ||
| list.modifiers | ||
| list.ops | ||
| list.special | ||
| db_back.pass.cpp | ||
| db_cback.pass.cpp | ||
| db_cfront.pass.cpp | ||
| db_front.pass.cpp | ||
| db_iterators_6.pass.cpp | ||
| db_iterators_7.pass.cpp | ||
| db_iterators_8.pass.cpp | ||
| db_iterators_9.pass.cpp | ||
| incomplete_type.pass.cpp | ||
| iterators.pass.cpp | ||
| types.pass.cpp | ||
| version.pass.cpp | ||