Skip to content

Commit

Permalink
Add missing is_detected_v
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Oct 20, 2024
1 parent 4415bbc commit a0f7f84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/podio/utilities/TypeHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ namespace det {
using detected_or = detail::detector<DefT, void, Op, Args...>;

template <template <typename...> typename Op, typename... Args>
using detected_t = typename detail::detector<nonesuch, void, Op, Args...>::type;
constexpr bool is_detected_v = requires { typename Op<Args...>; };

} // namespace det

namespace detail {
Expand Down

0 comments on commit a0f7f84

Please sign in to comment.