summaryrefslogtreecommitdiffstats
path: root/libcxx/include/map
Commit message (Collapse)AuthorAgeFilesLines
...
* Zhihao Yuan noted that there were a few unneeded statements. Eliminated ↵Howard Hinnant2013-08-221-2/+2
| | | | | | the unnecessary ones, and commented the ones that are there for non-obvious reasons such as to help things limp along in C++03 language mode. llvm-svn: 189039
* Second half (map/multimap) of N3657Marshall Clow2013-08-131-0/+158
| | | | llvm-svn: 188320
* Nico Rieck: this patch series fixes visibility issues on Windows as ↵Howard Hinnant2013-08-121-12/+12
| | | | | | explained in <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html>. llvm-svn: 188192
* Remove implicit conversion from __value_type to value_type in ↵Howard Hinnant2013-07-051-22/+11
| | | | | | [unordered_][multi]map. This fixes http://llvm.org/bugs/show_bug.cgi?id=16549 llvm-svn: 185711
* Removed extension in [unordered_][multi]map which allowed one to emplace ↵Howard Hinnant2013-07-041-70/+14
| | | | | | using just an argument for the key, as opposed to using piecewise_construct. However a bug report exposed that this created an unfortunate ambiguity. People who are currently using the extension will be notified the next time they compile, and will have to change to using piecewise_construct. There are no ABI issues with the removal of this extension. This fixes http://llvm.org/bugs/show_bug.cgi?id=16542 llvm-svn: 185666
* Simplify comparators of [unordered_][multi]map. This fixes ↵Howard Hinnant2013-07-041-38/+0
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=16538 llvm-svn: 185665
* Implement full support for non-pointer types in custom allocators. This is ↵Howard Hinnant2013-06-191-105/+151
| | | | | | for the associative containers only. This work still needs to be done on the unordered and sequence containers. Fixes http://llvm.org/bugs/show_bug.cgi?id=15978 llvm-svn: 184358
* No functionality change at this time. I've split _LIBCPP_VISIBLE up into ↵Howard Hinnant2013-03-061-12/+12
| | | | | | two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute. llvm-svn: 176593
* The rules for emplace in map, multimap, unordered_map and unordered_multimap ↵Howard Hinnant2012-05-251-120/+109
| | | | | | changed a while back and I'm just now updating to these new rules. In a nutshell, you've got to know you're emplacing to a pair and use one of pair's constructors. I made one extension: If you want to emplace the key and default construct the mapped_type, you can just emplace(key), as opposed to emplace(piecewise_construct, forward_as_tuple(key), forward_as_tuple()). llvm-svn: 157503
* Fix http://llvm.org/bugs/show_bug.cgi?id=11461. Credit Alberto Ganesh Barbati.Howard Hinnant2011-12-111-1/+5
| | | | llvm-svn: 146345
* Further macro protection by replacing _[A-Z] with _[A-Z]pHoward Hinnant2011-11-291-39/+39
| | | | llvm-svn: 145410
* Windows support by Ruben Van Boxem.Howard Hinnant2011-10-171-0/+2
| | | | llvm-svn: 142235
* Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574Howard Hinnant2011-08-121-18/+35
| | | | llvm-svn: 137522
* Correct for new rules regarding implicitly deleted special members. ↵Howard Hinnant2011-07-011-0/+14
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=10191 llvm-svn: 134248
* _STD -> _VSTD to avoid macro clash on windowsHoward Hinnant2011-06-301-49/+49
| | | | llvm-svn: 134190
* More fixes: One of my fixes to type_traits earlier today was incorrect, so ↵Howard Hinnant2011-06-191-22/+22
| | | | | | that is reverted. Recently clang appears to have tightened up its definition of is_convertible and that has caused some failures in [unordered_][multi]map. I've switched to using is_constructible to restablish the desired functionality in [unordered_][multi]map. Specifically, inserting rvalues of move-only types for the keys. llvm-svn: 133402
* Provide names for template and function parameters in forward declarations. ↵Howard Hinnant2011-06-141-3/+5
| | | | | | The purpose is to aid automated documentation tools. llvm-svn: 133008
* noexcept for <set>. Plus a few fixes to noexcept for <map>.Howard Hinnant2011-06-041-36/+36
| | | | llvm-svn: 132640
* noexcept for <map>.Howard Hinnant2011-06-041-60/+126
| | | | llvm-svn: 132639
* http://llvm.org/bugs/show_bug.cgi?id=9672Howard Hinnant2011-04-111-2/+2
| | | | llvm-svn: 129266
* Fixed two problems found by Chris Jefferson: Made operator>> for char ↵Howard Hinnant2011-02-271-6/+6
| | | | | | consistent with gcc. Opened an LWG issue on this one. 2) Renamed some private typedefs which are causing boost grief. llvm-svn: 126576
* Chris Jefferson noted many places where function calls needed to be ↵Howard Hinnant2011-02-141-1/+1
| | | | | | qualified (thanks Chris). llvm-svn: 125510
* Qualify calls to addressof with std::. Bug 9106Howard Hinnant2011-02-021-14/+14
| | | | llvm-svn: 124726
* Marshall Clow's fix for Bug 8421.Howard Hinnant2011-01-041-2/+2
| | | | llvm-svn: 122825
* license changeHoward Hinnant2010-11-161-2/+2
| | | | llvm-svn: 119395
* visibility-decoration.Howard Hinnant2010-09-221-51/+191
| | | | llvm-svn: 114551
* Fix whitespaceHoward Hinnant2010-09-041-3/+3
| | | | llvm-svn: 113089
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-041-26/+53
| | | | | | flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086
* Fixing whitespace problemsHoward Hinnant2010-08-221-19/+15
| | | | llvm-svn: 111750
* now works with -fno-exceptions and -fno-rttiHoward Hinnant2010-08-111-0/+4
| | | | llvm-svn: 110828
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-111-1/+1
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-111-0/+1663
llvm-svn: 103490
OpenPOWER on IntegriCloud