This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DLP6500程序设计问题

我们最近根据DLP6500的SDK进行控制DMD的程序设计,但是编译时出现了如下错误:

other.hpp(140): error C2593: “operator <<”不明确

other.hpp(140): error C2088: “<<”: 对于 class 非法

报错的代码段如下:

/** \brief Contains common functions to convert numbers to strings
* \ingroup common
*/
namespace Number{

/** \brief Converts a numerical variable to its ASCII string equivalent */
template <typename T>
std::string ToString( T number ){
std::ostringstream ss;
ss << std::setprecision(NUM_TO_STRING_PRECISION); 
ss << number;

return ss.str();
}

我们使用的是VS2013,请问该怎么解决?这个报错是出现在SDK的头文件里的,我们不知道应该怎么修改