fix template parameter to be variadic for forward decleration of is_detected
fix template parameter to be variadic for forward decleration of is_detected

stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math