Given this code:
#include <type_traits>
template<char ...Cs>
auto foo() -> typename std::enable_if<(sizeof...(Cs) > 1)>::type{
}
template<char C>
void foo() {
}
int main(){
foo<'s'>();
}
I have the above c++ program and I'm just wondering, according rules laid out in the standard, which one of the two "foo" templates will be instantiated for the "foo" call in main.