Right down a solution and explain it to me, I am a good listener.
>> Simply the whole loop body is hidden in the `Handle` helper.
>> Show me real life problems that can't be handled like this.
>
> Please read the bottom of that post not it's top.
>
What post exactly? You make multiple and each one have
diffrent code. Most cases was similar to one I posters here.
Show exactly the code you mean and show
why it can be handled by my `&Handle<&foo<int>>` helper.
The post from where you copied this snippet.
for(const auto& f : vec)
{
cout << "function parameterized on t = " << /*some call to get the non-type template value*/ << endl;
cout << "ret val =" << f(10) << endl;
}
}
-----
Go all the way to the bottom, and read slowly and carefully.
Then give me specific questions.