diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2024-04-04 23:02:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 23:02:19 +0200 |
commit | f5960c168dfe17c7599acea0a7d94a26545f4777 (patch) | |
tree | 26a5f061b979f97c284924912a426689b6ec479c /libcxx/include/__numeric | |
parent | 5aeb604c7ce417eea110f9803a6c5cb1cdbc5372 (diff) | |
download | llvm-f5960c168dfe17c7599acea0a7d94a26545f4777.zip llvm-f5960c168dfe17c7599acea0a7d94a26545f4777.tar.gz llvm-f5960c168dfe17c7599acea0a7d94a26545f4777.tar.bz2 |
[libc++][NFC] Make __desugars_to a variable template and rename the header to desugars_to.h (#87337)
This improves compile times and memory usage slightly and removes some
boilerplate.
Diffstat (limited to 'libcxx/include/__numeric')
-rw-r--r-- | libcxx/include/__numeric/pstl_transform_reduce.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__numeric/pstl_transform_reduce.h b/libcxx/include/__numeric/pstl_transform_reduce.h index 2f412d4..07ecf0d 100644 --- a/libcxx/include/__numeric/pstl_transform_reduce.h +++ b/libcxx/include/__numeric/pstl_transform_reduce.h @@ -87,7 +87,7 @@ _LIBCPP_HIDE_FROM_ABI _Tp transform_reduce( } // This overload doesn't get a customization point because it's trivial to detect (through e.g. -// __desugars_to) when specializing the more general variant, which should always be preferred +// __desugars_to_v) when specializing the more general variant, which should always be preferred template <class _ExecutionPolicy, class _ForwardIterator1, class _ForwardIterator2, |