llvm-project/libcxx
Duncan P. N. Exon Smith a584f0008a unordered: Rename __construct_node_hash() to allow forwarding, NFC
Rename the version of __construct_node() that takes a hash as an
argument to __construct_node_hash(), and use perfect-forwarding when
Rvalue references are available.  The primary motivation is to allow
other types through, since unordered_map's value_type is different from
__hash_table's value_type -- a follow-up will take advantage of this --
but the rename is general "goodness".

There should be no functionality change here (aside from enabling the
follow-up).

llvm-svn: 258511
2016-01-22 18:27:26 +00:00
..
cmake Revert r256606 due to compiler-rt sanitizer bot failures 2015-12-30 03:39:03 +00:00
docs Add link to 3rd party GDB pretty-printers 2016-01-20 01:26:30 +00:00
include unordered: Rename __construct_node_hash() to allow forwarding, NFC 2016-01-22 18:27:26 +00:00
lib Add CMake option LIBCXX_CONFIGURE_IDE to allow for other IDE's. 2015-12-16 23:41:05 +00:00
src Add more missing license headers 2016-01-19 21:58:49 +00:00
test Implement LWG#2101 'Some transformation types can produce impossible types' Introduced a new (internal) type trait '__is_referenceable' with tests. Use that trait in add_lvalue_reference, add_rvalue_reference and add_pointer. 2016-01-21 18:22:43 +00:00
utils Add more missing license headers 2016-01-19 21:58:49 +00:00
www Implement LWG#2101 'Some transformation types can produce impossible types' Introduced a new (internal) type trait '__is_referenceable' with tests. Use that trait in add_lvalue_reference, add_rvalue_reference and add_pointer. 2016-01-21 18:22:43 +00:00
.arcconfig Update Arcanist config to point to reviews.llvm.org 2014-06-10 18:29:36 +00:00
.gitignore [libc++] Refactor test components into modules. 2015-01-09 18:03:29 +00:00
CMakeLists.txt Revert r256606 due to compiler-rt sanitizer bot failures 2015-12-30 03:39:03 +00:00
CREDITS.TXT Add self to CREDITS.txt 2015-02-26 00:48:22 +00:00
LICENSE.TXT Update copyright year to 2015. 2015-03-12 20:13:11 +00:00
Makefile Revert "Fix installheaders target's permissions" 2014-12-16 05:28:07 +00:00
TODO.TXT Test commit to see if libcxx.llvm.org/docs builds 2015-09-04 22:57:00 +00:00