I am trying to understand how to use gsl narrowcast instead of static cast. I found here on stackoverflow a function that has a string as a parameter and returns true if all