Assume we have class that depends on two template types one of we specialize in constructor, can we not specialize deducable type?
template <typename T, typename I>
class A {
public:
A(I i) {
}
};
int main() {
A<float, int> a(42); // this works, but we can deduce int from 42
A<float> aa(42); // doesn't work
//or
auto aaa = A<float>(42); // doesn't work
}