summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/Counter.h
Commit message (Collapse)AuthorAgeFilesLines
* First half of C++17's splicing maps and setsErik Pilkington2018-08-011-2/+2
| | | | | | | | | | | | | This commit adds a node handle type, (located in __node_handle), and adds extract() and insert() members to all map and set types, as well as their implementations in __tree and __hash_table. The second half of this feature is adding merge() members, which splice nodes in bulk from one container into another. This will be committed in a follow-up. Differential revision: https://reviews.llvm.org/D46845 llvm-svn: 338472
* [libcxx] [test] Avoid unary_function.Stephan T. Lavavej2018-04-121-1/+3
| | | | | | | | | | | Replace unary_function inheritance (which was never required, even in C++98) with argument_type and result_type typedefs. This increases portability, as unary_function was removed in C++17 and MSVC has implemented that removal. Fixes D45596. llvm-svn: 329974
* Cleanup _LIBCPP_HAS_NO_<c++11-feature> in support headers and final testsEric Fiselier2017-04-191-1/+3
| | | | llvm-svn: 300637
* Remove trailing whitespace in test suite. Approved by Marshall Clow.Eric Fiselier2016-06-011-2/+2
| | | | llvm-svn: 271435
* Fix PR22366. When move-constructing an associative container and explicitly ↵Marshall Clow2015-01-281-0/+52
passing an allocator that compares different, we were not calling the destructor of the elements in the moved-from container. llvm-svn: 227359
OpenPOWER on IntegriCloud