Why doesn’t template argument deduction work with brace-enclosed initializer list?
There’re a couple of questions that mention the problem [this, this]. But I’m more interested in the reason why that doesn’t work.
Consider this example. The original intent should be self-explanatory.