Lancern's Treasure Chest
11:17 · Nov 1, 2021 · Mon
今日 cpp 灵车:疑似 gcc SFINAE 大失败
https://godbolt.org/z/E15rffePo
godbolt.org
Compiler Explorer - C++
template <typename SFINAE, typename F, typename ...Args>
struct my_invocable_impl : std::false_type {};
template <typename F, typename ...Args>
struct my_invocable_impl<void, F, Args...>
: std::enable_if_t<
std::is_same_v<
void,
…
Home
Powered by
BroadcastChannel
&
Sepia