Agreed, that would be better. Unfortunately it won't compile, it requires that value to be a constant.