compiler not inferring template type as expected

Printable View