Skip to content
Snippets Groups Projects
Unverified Commit f6d64537 authored by Lars Bilke's avatar Lars Bilke
Browse files

[BL] Algorithm.h fix for older clang.

parent a6ebb4c6
No related branches found
No related tags found
No related merge requests found
......@@ -320,9 +320,8 @@ struct Overloaded : Ts...
using Ts::operator()...;
};
#if defined(__clang__)
#if ((__clang_major__ == 16 && !defined(__apple_build_version__)) || \
(__clang_major__ == 15 && defined(__apple_build_version__)))
/// Explicit deduction guide needed for apple's clang-15 and clang-16.
#if (__clang_major__ <= 16)
/// Explicit deduction guide needed for clang <= 16.
template <class... Ts>
Overloaded(Ts...) -> Overloaded<Ts...>;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment