Namespace:

I'm talking about exactly these kind of casts. See my example.

I don't understand what you are trying to minimize. In both versions of your foo function you have 1 cast, so you aren't minimizing the number of casts you are writing in the code.

Bye,
bearophile

Reply via email to