Marshall Clow
|
c005c7e34c
Make internal class __wrap_iter constexpr when not using libc++'s debugging mode. Introduce a new macro _LIBCPP_CONSTEXPR_IF_NODEBUG to mark this.
|
7 ani în urmă |
Marshall Clow
|
f477af5fda
Fix misleading indentation; replace a couple of NULLs with nullptr. Resolves https://reviews.llvm.org/D42945 ; thanks to Bruce Mitchener for the patch.
|
7 ani în urmă |
Peter Collingbourne
|
27c341db41
Fix the BinaryPredicate form of std::is_permutation to not rely on operator==
|
7 ani în urmă |
Marshall Clow
|
5b12e3bdb4
Last batch of P0202 constexpr additions: includes/set_intersection/exchange
|
7 ani în urmă |
Marshall Clow
|
63be4189d8
Another batch of P0202 constepr algirithms. remove/remove_if/remove_copy/remove_copy_if/reverse_copy, and tests (commented out) for rotate_copy, because that depends on std::copy
|
7 ani în urmă |
Marshall Clow
|
a15161a030
Still more P0202 constexpr-ifying. This batch is: for_each/for_each_n/lexicographical_compare
|
7 ani în urmă |
Marshall Clow
|
48a4655868
More P0202 constexpr work. This commit adds fill/fill_n/generate/generate_n/unique/unique_copy. I removed a specialization of fill_n that recognized when we were dealing with raw pointers and 1 byte trivially-assignable types and did a memset, because the compiler will do that optimization for us.
|
7 ani în urmă |
Marshall Clow
|
a75d61347e
More P0202 constexpr-ifying in <algorithm>. This commit handles replace/replace_if/replace_copy/replace_copy_if.
|
7 ani în urmă |
Marshall Clow
|
ecd1909f5f
More P0202 constexpr-ifying in <algorithm>. This commit handles 'transform'.
|
7 ani în urmă |
Marshall Clow
|
d6082200f6
More constexpr algorithms from P0202. search/search_n
|
7 ani în urmă |
Marshall Clow
|
39b886259e
More constexpr algorithms from P0202: lower_bound, upper_bound, equal_range, binary_search
|
7 ani în urmă |
Marshall Clow
|
4cd596538b
More constexpr (re P0202) - equal and mismatch
|
7 ani în urmă |
Marshall Clow
|
0dc8ca7729
More constexpr from P0202. count and count_if. Also fix a comment that Morwenn noted.
|
7 ani în urmă |
Marshall Clow
|
6a1c2ffea4
More P0202 constexpr-ifying. All the find_XXX algorithms in this commit.
|
7 ani în urmă |
Marshall Clow
|
bb8010f6f2
partition_point gets the P0202 treatment
|
7 ani în urmă |
Marshall Clow
|
de4b2869d7
More constexpr algorithms from P0202. any_of/all_of/none_of.
|
7 ani în urmă |
Marshall Clow
|
8d0d82585a
First part of P0202: Adding constexpr modifiers to functions in <algorithm> and <utility>. This commit is all the is_XXX algorithms.
|
7 ani în urmă |
Marshall Clow
|
334063336b
Add the C++17 extensions to std::search. Include the default searcher, but not the Boyer-Moore or Boyer-Moore-Horspool searcher (yet). BUT put the BM and BMH tests in place, marked to XFAIL. The other searchers will follow soon
|
7 ani în urmă |
Shoaib Meenai
|
54b78ffabb
[libcxx] Fix intrinsics for MSVC
|
7 ani în urmă |
Alexander Richardson
|
e208d0895a
Rename identifiers named `__output`
|
7 ani în urmă |
Marshall Clow
|
c3fa9655a4
Fix PR#35119 : set_union misbehaves with move_iterators. Thanks to Denis Yaroshevskiy for both the bug report and the fix.
|
7 ani în urmă |
Marshall Clow
|
1e32db7b33
Revert 313789 because gcc doesn't like it
|
8 ani în urmă |
Marshall Clow
|
9641305bba
Mark the __eval methods on independent_bits_engine (and __independent_bits_engine) as const, since they make no changes to the object. NFC.
|
8 ani în urmă |
Marshall Clow
|
e2b6832fcd
Fix a bit of UB in __independent_bits_engine. Fixes PR#34663
|
8 ani în urmă |
Marshall Clow
|
25a78dcd77
Fix PR31166: std::inplace_merge seems to be unstable. Thanks to Jan Wilken Dörrie for the suggested fix.
|
8 ani în urmă |
Shoaib Meenai
|
0d6a92ed81
[libc++] Clean up cl warning 4231 disabling
|
8 ani în urmă |
Eric Fiselier
|
018a3d51a4
[Libc++] Use #pragma push_macro/pop_macro to better handle min/max on Windows
|
8 ani în urmă |
Eric Fiselier
|
ac633a2a52
Remove uses of _UI because Windows is evil and tchar.h #define's it
|
8 ani în urmă |
Marshall Clow
|
798ecd6c0f
Last commit included some extra constexpr; remove them
|
8 ani în urmă |
Marshall Clow
|
efae8792d8
Make for_each_n only avaliable on C++17
|
8 ani în urmă |