Using SFINAE instead template specialization for preventing specialization with non-type template parameter depended of type template parameter for more generalized class do_indices.