![]() This patch is very similar to r260431. This patch is the first in a series of patches that's meant to better support map. map has a special "value_type" that differs from pair<const Key, Value>. In order to meet the EmplaceConstructible and CopyInsertable requirements we need to teach __tree about this special value_type. This patch creates a "__tree_node_types" traits class that contains all of the typedefs needed by the associative containers and their iterators. These typedefs include ones for each node type and node pointer type, as well as special typedefs for "map"'s value type. Although the associative containers already supported incomplete types, this patch makes it official by adding tests. This patch will be followed up shortly with various cleanups within __tree and fixes for various map bugs and problems. llvm-svn: 261416 |
||
---|---|---|
.. | ||
algorithms | ||
atomics | ||
containers | ||
depr | ||
diagnostics | ||
experimental | ||
extensions | ||
input.output | ||
iterators | ||
language.support | ||
localization | ||
numerics | ||
re | ||
strings | ||
thread | ||
utilities | ||
nothing_to_do.pass.cpp |