Compiler Error C2975

invalid template argument 'number', constant expression expected

The template argument did not match the template declaration; a constant expression was expected within the angle brackets. Variables are not allowed as template actual arguments. Check the template declaration to find the correct template parameters.