template <typename T, typename... Tc>
constexpr bool ConjuctionofConvertible () noexcept
{
return std::conjunction<std::is_convertible_v<T, Tc>...>::value;
}
Run Code Online (Sandbox Code Playgroud)
出现错误:
template <typename T, typename... Tc>
constexpr bool ConjuctionofConvertible () noexcept
{
return std::conjunction<std::is_convertible_v<T, Tc>...>::value;
}
Run Code Online (Sandbox Code Playgroud)