added SFINAE check for pod types